构建版收录web端产品库

This commit is contained in:
aixianling
2022-08-24 11:16:47 +08:00
parent 083c1ff068
commit ccc6455274

View File

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