diff --git a/nezha-fronted/src/components/common/rightBox/assetBox.vue b/nezha-fronted/src/components/common/rightBox/assetBox.vue index 8159a085b..bcc933d82 100644 --- a/nezha-fronted/src/components/common/rightBox/assetBox.vue +++ b/nezha-fronted/src/components/common/rightBox/assetBox.vue @@ -26,7 +26,7 @@ - {{assetData.sn}} + {{assetData.sn}} diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index b6bab7a9e..8a2fc8c3d 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -25,7 +25,7 @@ -
{{module.project.name}}
+
{{module.project.name}}
diff --git a/nezha-fronted/src/components/page/alert/config.vue b/nezha-fronted/src/components/page/alert/config.vue index 10e0cca33..b4cf3433c 100644 --- a/nezha-fronted/src/components/page/alert/config.vue +++ b/nezha-fronted/src/components/page/alert/config.vue @@ -382,13 +382,14 @@ break; case 2: // this.fillProject(typeObj); - let tempObj = JSON.parse(typeObj.param) - this.$set(typeObj, 'paramObj', []); - for (let k in tempObj) { - typeObj.paramObj.push({key: k, value: tempObj[k]}); + if (typeObj.param) { + let tempObj = JSON.parse(typeObj.param); + this.$set(typeObj, 'paramObj', []); + for (let k in tempObj) { + typeObj.paramObj.push({key: k, value: tempObj[k]}); + } } this.viewModuleData = JSON.parse(JSON.stringify(typeObj)); - this.$refs.moduleBox.show(true); break; case 3: diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 3e328ad8a..a28eedd4c 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -31,7 +31,7 @@
-