【修改】和后台的访问处理
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
window._CONFIG = {}
|
||||
window._CONFIG['domianURL'] = '/jero-boot' // 路由转发 devServer
|
||||
window._CONFIG['domianWebSocketURL'] = 'http://localhost:8080/jero-boot'
|
||||
window._CONFIG['domianWebSocketURL'] = 'http://localhost:9999'
|
||||
// 单点登录地址
|
||||
window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/download'
|
||||
window._CONFIG['pdfDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe'
|
||||
|
||||
@@ -292,7 +292,7 @@ import { JSEncrypt } from 'jsencrypt'
|
||||
})
|
||||
}
|
||||
that.model.selecteddeparts = selectDepartKeys.join(",")
|
||||
that.nextDepartOptions=departOptions;
|
||||
that.nextDepartOptions = departOptions;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -87,9 +87,12 @@ module.exports = {
|
||||
}
|
||||
},*/
|
||||
'/jero-boot': {
|
||||
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
|
||||
target: 'http://localhost:9999', //请求本地 jero-boot后台项目
|
||||
ws: false,
|
||||
changeOrigin: true
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'/jero-boot': '' //默认所有请求都加了jero-boot前缀,需要去掉
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user