BUG 30108

This commit is contained in:
aixianling
2022-06-10 17:46:34 +08:00
parent 2f43573668
commit 33baad65de
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ instance.interceptors.request.use(config => {
} else if (/AppCountryAlbum/.test(location.pathname) || config.module == 'AppCountryAlbum') {
config.baseURL = '/aca'
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
} else if (/\/project\/beta\//.test(location.pathname) || config.module == 'wangge') {
} else if (/\/project\/beta\//.test(location.pathname) || config.module == 'wangge' || store.state.config.corpid == 'ww2a667717a70164f1') {
config.baseURL = '/wangge'
} else if (/\/project\/police\//.test(location.pathname) || config.module == 'hnjc') {
config.baseURL = '/hnjc'

View File

@@ -55,8 +55,8 @@ export default {
if (res?.data) {
if (this.fromType == 'edit') {
this.form = res.data
this.form.girdMemberList.map(e => e.id = e.wxUserId)
this.form.girdMemberManageList.map(e => e.id = e.wxUserId)
this.form.girdMemberList?.map(e => e.id = e.wxUserId)
this.form.girdMemberManageList?.map(e => e.id = e.wxUserId)
}
if (this.fromType == 'add') {
this.form.parentGirdId = res.data.id