From 3293e2fb564fbc3cff4a9268b6595ff7f99b37b2 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Fri, 23 May 2025 10:19:47 +0800
Subject: [PATCH] 账号密码支持自定义更新周期
---
ruoyi-ui/src/layout/components/TagsView/index.vue | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/ruoyi-ui/src/layout/components/TagsView/index.vue b/ruoyi-ui/src/layout/components/TagsView/index.vue
index 1fc2323..09fe1d4 100644
--- a/ruoyi-ui/src/layout/components/TagsView/index.vue
+++ b/ruoyi-ui/src/layout/components/TagsView/index.vue
@@ -51,7 +51,7 @@
return this.$store.state.permission.routes
},
theme() {
- return this.$store.state.settings.theme;
+ return this.$store.state.settings.theme
}
},
watch: {
@@ -76,11 +76,11 @@
return route.path === this.$route.path
},
activeStyle(tag) {
- if (!this.isActive(tag)) return {};
+ if (!this.isActive(tag)) return {}
return {
"background-color": this.theme,
"border-color": this.theme
- };
+ }
},
isAffix(tag) {
return tag.meta && tag.meta.affix
@@ -133,11 +133,7 @@
const { name } = this.$route
if (name) {
this.$store.dispatch('tagsView/addView', this.$route)
- if (this.$route.meta.link) {
- this.$store.dispatch('tagsView/addIframeView', this.$route)
- }
}
- return false
},
moveToCurrentTag() {
const tags = this.$refs.tag
@@ -155,7 +151,7 @@
})
},
refreshSelectedTag(view) {
- this.$tab.refreshPage(view);
+ this.$tab.refreshPage(view)
if (this.$route.meta.link) {
this.$store.dispatch('tagsView/delIframeView', this.$route)
}
@@ -182,7 +178,7 @@
})
},
closeOthersTags() {
- this.$router.push(this.selectedTag.fullPath).catch(()=>{});
+ this.$router.push(this.selectedTag.fullPath).catch(()=>{})
this.$tab.closeOtherPage(this.selectedTag).then(() => {
this.moveToCurrentTag()
})
--
Gitblit v1.9.3