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',