构建版收录web端产品库
This commit is contained in:
		| @@ -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() | ||||
|     }) | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user