Admin
2022-09-14 324eed59a668758755219d5cd4e68463a9cc427d
src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue
@@ -9,7 +9,7 @@
    </div>
    <dv-decoration7 :color="lineColor" style="width:100%;height:6%;margin-bottom: 20px">
      <div class="msgTit">
        Decoration
        {{title}}
      </div>
    </dv-decoration7>
    <dv-border-box1 :color="lineColor" style="width: 100%;height: calc(100% - 20px)">
@@ -33,7 +33,8 @@
  // 定义接口来定义对象的类型
  interface stateType {
    lineColor: Array<string>,
    title: string | null
  }
  export default defineComponent({
    name: 'msgDetail',
@@ -46,13 +47,14 @@
      const route = useRoute();
      const state = reactive<stateType>({
        lineColor: ['#11FEEE'],
        title: ''
      });
      // 页面载入时执行方法
      onMounted(() => {
        // if (route.query.row) {
        //   state.row = route.query.num
        // }
        if (route.query.row) {
          state.title = route.query.row[1]
        }
        getTheme()
      });