From 999cab6fb3fc6d2a288d365da991351c5a396bf0 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期三, 21 九月 2022 15:53:18 +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