Commit 375b4028 by 李伟康

commit 修改路由

1 parent 47da0da8
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
const route = currentPage.route; const route = currentPage.route;
const url = ["pages/home/home", "pages/boutique/index"]; const url = ["pages/equity/index", "pages/boutique/index"];
if (url.includes(route)) return; if (url.includes(route)) return;
this.initTime(); this.initTime();
// this.checkVoice(); // this.checkVoice();
......
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
this.infoList = INFO_LIST.map((item) => delete item.imgUrl); this.infoList = INFO_LIST.map((item) => delete item.imgUrl);
setTimeout(() => { setTimeout(() => {
uni.reLaunch({ uni.reLaunch({
url: "/pages/home/home", url: "/pages/equity/index",
}); });
}, 1500); }, 1500);
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!