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); } } }