This commit is contained in:
yanran200730
2023-03-17 09:36:05 +08:00

View File

@@ -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() {