From 1bb2fbe9b5b392d3c8004bc7e2301ade1687bc6d Mon Sep 17 00:00:00 2001 From: zhuchunyun Date: Sat, 17 Aug 2024 10:20:17 +0800 Subject: [PATCH] init --- ruoyi-ui/src/views/home.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/home.vue b/ruoyi-ui/src/views/home.vue index 489d7e6..f78c5f7 100644 --- a/ruoyi-ui/src/views/home.vue +++ b/ruoyi-ui/src/views/home.vue @@ -120,7 +120,7 @@
-
+
{{getDictLabel(item.imitationType)}}
@@ -267,10 +267,10 @@ export default { } }, mounted() { - // console.log(this.$route.query.id) // 页面加载完毕调用 this.tabLsit(); this.getWebBaseInfo() + this.getDictLabel() }, computed: { customswiper() { @@ -284,6 +284,13 @@ export default { } }, methods: { + getDictLabel(value){ + for (const item of this.dict.type.imitation_type) { + if(value == item.value){ + return item.label + } + } + }, godx() { this.$router.push({ name: 'xufang',