diff --git a/src/assets/css/common.css b/src/assets/css/common.css index 2f29a80..3217524 100644 --- a/src/assets/css/common.css +++ b/src/assets/css/common.css @@ -32,7 +32,7 @@ content: ""; position: absolute; left: 22px; - top: calc("50% - 7px"); + top: calc(50% - 7px); width: 4px; height: 14px; border-radius: 5px; diff --git a/src/assets/css/common.css b/src/assets/css/common.css index 2f29a80..3217524 100644 --- a/src/assets/css/common.css +++ b/src/assets/css/common.css @@ -32,7 +32,7 @@ content: ""; position: absolute; left: 22px; - top: calc("50% - 7px"); + top: calc(50% - 7px); width: 4px; height: 14px; border-radius: 5px; diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue index 56bd035..099ecdb 100644 --- a/src/components/ConfigManager/SiteManagement.vue +++ b/src/components/ConfigManager/SiteManagement.vue @@ -866,7 +866,7 @@ this.title = "修改站点"; for (let key in data) { if (key === "stationType") { - data[key] = data[key].toString(); + data[key] = data[key] ? data[key].toString() : ""; } this.projectObj = { value: data.platformCode