报错修复
This commit is contained in:
parent
e4835d0d27
commit
73a0d5d98e
|
|
@ -192,11 +192,10 @@ function okFunc() {
|
|||
// [用户号, 应用, 门店]
|
||||
emit('selectFinishFunc',
|
||||
[
|
||||
vdata.selectedRowKeys.mch.length > 0 ? vdata.selectedRowKeys.mch[0] : null,
|
||||
vdata.selectedRowKeys.app.length > 0 ? vdata.selectedRowKeys.app[0] : null,
|
||||
vdata.selectedRowKeys.store.length > 0 ? vdata.selectedRowKeys.store[0] : null,
|
||||
vdata.selectedRowKeys.userInfo.length > 0 ? vdata.selectedRowKeys.userInfo[0] : null,
|
||||
vdata.selectedRowKeys.mchApplyId.length > 0 ? vdata.selectedRowKeys.mchApplyId[0] : null
|
||||
vdata.selectedRowKeys.mch ? (vdata.selectedRowKeys.mch.length > 0 ? vdata.selectedRowKeys.mch[0] : null) : null,
|
||||
vdata.selectedRowKeys.app ? (vdata.selectedRowKeys.app.length > 0 ? vdata.selectedRowKeys.app[0] : null) : null,
|
||||
vdata.selectedRowKeys.store ? (vdata.selectedRowKeys.store.length > 0 ? vdata.selectedRowKeys.store[0] : null) : null,
|
||||
vdata.selectedRowKeys.mchApplyId ? (vdata.selectedRowKeys.mchApplyId.length > 0 ? vdata.selectedRowKeys.mchApplyId[0] : null) : null
|
||||
])
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@ import { useRouter } from '@/utils/routerUtils.js'
|
|||
|
||||
class HttpRequest {
|
||||
constructor (baseUrl = process.env.VITE_API_BASE_URL) {
|
||||
if (!baseUrl) {
|
||||
baseUrl = 'https://manager.sxczgkj.cn'
|
||||
}
|
||||
console.log('this.baseUrl', baseUrl)
|
||||
this.baseUrl = baseUrl
|
||||
this.queue = {} // 发送队列, 格式为: {请求url: true}, 可以做一些验证之类
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export default ({ mode }) => {
|
|||
// target: 'http://192.168.1.12:9217/', // 代理的目标地址
|
||||
// target: 'http://192.168.2.171:9217', // 代理的目标地址
|
||||
// target: 'https://mgruxxkwhmz.rscygroup.com/', // 代理的目标地址
|
||||
target: "http://manager.sxczgkj.cn",
|
||||
target: "https://manager.sxczgkj.cn",
|
||||
changeOrigin: true, // 开启跨域
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue