From 54051120c1b27732f05b8c2f4a0112ac02323696 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期三, 14 九月 2022 17:36:40 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqt --- src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue b/src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue index 96018d9..c30b03e 100644 --- a/src/views/riskWarningSys/warningBigScreen/indexs/msgDetail.vue +++ b/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() }); -- Gitblit v1.9.2