Merge branch 'dev' into build

This commit is contained in:
aixianling
2022-08-24 11:08:04 +08:00

View File

@@ -36,12 +36,12 @@ export default {
promise(apps, "packages"),
promise(projects, "project")
]).then(() => {
axios.post("/node/wechatapps/addOrUpdate", {
type: "web",
list: this.routes().map(({path: libPath, label, module: {name}, name: id}) => ({
id, type: 'web', libPath, label, name
}))
}, {baseURL: "/ns"}).catch(() => 0)
// axios.post("/node/wechatapps/addOrUpdate", {
// type: "web",
// list: this.routes().map(({path: libPath, label, module: {name}, name: id}) => ({
// id, type: 'web', libPath, label, name
// }))
// }, {baseURL: "/ns"}).catch(() => 0)
waiting.close()
})
}