From 36dc08d8ab961af19133ac73f80051ff10f663d6 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 24 Aug 2022 11:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E7=89=88=E6=94=B6=E5=BD=95we?= =?UTF-8?q?b=E7=AB=AF=E4=BA=A7=E5=93=81=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/router/autoRoutes.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/router/autoRoutes.js b/examples/router/autoRoutes.js index 5a2775df..a265a267 100644 --- a/examples/router/autoRoutes.js +++ b/examples/router/autoRoutes.js @@ -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() }) }