ZhangXianQiang
2024-03-28 07e7a6323d6f98fe2dfdf2733daf457a4e4f42f4
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);
    }
  }
}