diff --git a/template/admin/src/layout/navBars/tagsView/tagsView.vue b/template/admin/src/layout/navBars/tagsView/tagsView.vue
index 860469f3b..67912c8e7 100644
--- a/template/admin/src/layout/navBars/tagsView/tagsView.vue
+++ b/template/admin/src/layout/navBars/tagsView/tagsView.vue
@@ -99,18 +99,14 @@ export default {
if (!this.$store.state.app.tagNavList.length) {
this.getTagsViewRoutes();
}
- // this.$nextTick((e) => {
- // console.log(this.$refs.tagsView.offsetWidth);
- // console.log(this.$refs.tagsUlRef.offsetWidth);
- // });
if (this.$refs.tagsView.offsetWidth < this.$refs.scrollbarRef.$refs.wrap.scrollWidth) {
this.scrollTagIcon = true;
}
window.addEventListener('resize', () => {
- console.log(this.$refs.tagsView.offsetWidth);
- console.log(this.$refs.scrollbarRef.$refs.wrap.scrollWidth);
if (this.$refs.tagsView.offsetWidth < this.$refs.scrollbarRef.$refs.wrap.scrollWidth) {
this.scrollTagIcon = true;
+ } else {
+ this.scrollTagIcon = false;
}
});
},
@@ -305,6 +301,15 @@ export default {
break;
}
},
+ refreshIcon() {
+ this.$nextTick((e) => {
+ if (this.$refs.tagsView.offsetWidth < this.$refs.scrollbarRef.$refs.wrap.scrollWidth) {
+ this.scrollTagIcon = true;
+ } else {
+ this.scrollTagIcon = false;
+ }
+ });
+ },
// 1、刷新当前 tagsView:
refreshCurrentTagsView(path) {
this.bus.$emit('onTagsViewRefreshRouterView', path);
@@ -361,6 +366,7 @@ export default {
this.addTagsView(to.path, to);
this.getTagsRefsIndex(to.path);
this.tagsViewmoveToCurrentTag();
+ this.refreshIcon();
},
deep: true,
},
diff --git a/template/admin/src/pages/setting/notification/index.vue b/template/admin/src/pages/setting/notification/index.vue
index a807207f4..fa1d1cb8f 100644
--- a/template/admin/src/pages/setting/notification/index.vue
+++ b/template/admin/src/pages/setting/notification/index.vue
@@ -7,7 +7,7 @@
-
+
-
+
1、公众号:登录微信公众号后台,选择模版消息,将模版消息的所在行业修改副行业为《其他/其他》
2、小程序:登录微信小程序后台,基本设置,服务类目增加《生活服务> 百货/超市/便利店》
diff --git a/template/admin/src/pages/setting/systemMenus/index.vue b/template/admin/src/pages/setting/systemMenus/index.vue
index 0efe4847b..b6b2ef7b9 100644
--- a/template/admin/src/pages/setting/systemMenus/index.vue
+++ b/template/admin/src/pages/setting/systemMenus/index.vue
@@ -44,18 +44,8 @@
row-id="id"
>
-
-
-
-
-
-
-
-
- {{ row.methods ? '[' + row.methods + '] ' + row.api_url : row.api_url }}
-
-
-
+
+