Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
@@ -68,18 +68,6 @@ export default {
|
||||
},
|
||||
getApps() {
|
||||
this.apps = config.apps.map(e => ({...e, path: e.libPath}))
|
||||
this.$instance.post("/node/wechatapps/list", null, {
|
||||
baseURL: "http://192.168.1.87:12525/", params: {size: 999, type: 'mp'}, withoutToken: true
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.apps = res.data.records.map(e => {
|
||||
if (/\/project\//.test(e.libPath)) {
|
||||
e.project = e.libPath.replace(/.*project\/([^\/]+)\/.+/, '$1')
|
||||
}
|
||||
return {...e, path: e.libPath}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user