龚焕茏
2024-03-26 a079b51dedafb805f9269826e24208ce28b43884
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);
    }
  }
}