BUG 30108
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user