From 27e8d88ed3fb019de4b46a9257d6ab71daa2638e Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 20 三月 2024 09:06:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/screen/components/wrapper-title/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/screen/components/wrapper-title/index.vue b/src/views/screen/components/wrapper-title/index.vue
index 81de806..6351d2b 100644
--- a/src/views/screen/components/wrapper-title/index.vue
+++ b/src/views/screen/components/wrapper-title/index.vue
@@ -2,7 +2,7 @@
   <div class="title-container">
     <span class="title">{{ title }}</span>
 
-    <div class="more-button">
+    <div class="more-button" v-if="path" @click="toPath">
       <dv-border-box-12>
         <div class="button-text">
           璇︽儏
@@ -22,6 +22,12 @@
     },
     path: {
       type: String,
+      default: ''
+    }
+  },
+  methods: {
+    toPath () {
+      this.$router.push(this.path);
     }
   }
 }

--
Gitblit v1.8.0