zs 2 年之前
父節點
當前提交
e20ee6b642
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pages/week/index.vue

+ 2 - 0
pages/week/index.vue

@@ -225,6 +225,8 @@
 			},
 			// 菜单跳转
 			toPath(e) {
+				const that = this;
+				that.clearPage();
 				if (e && e.route && e.type == '0') {
 					uni.redirectTo({
 						url: `/${e.route}`