From 2bff5e788d4f7e505961270f0624aa3e78280e25 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期四, 13 十月 2022 14:31:29 +0800
Subject: [PATCH] 目录
---
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