diff --git a/nezha-fronted/src/components/common/labelFilter/clickSearch.vue b/nezha-fronted/src/components/common/labelFilter/clickSearch.vue
index c5ed5d98c..6a662d38f 100644
--- a/nezha-fronted/src/components/common/labelFilter/clickSearch.vue
+++ b/nezha-fronted/src/components/common/labelFilter/clickSearch.vue
@@ -10,6 +10,12 @@
+
+ More
+
@@ -29,8 +35,8 @@
:style="{top: `${moreBtnTop(data.type)}px`}"
class="search-more"
@click="changShowMore(type)">
- More
-
+ More
+
@@ -318,8 +324,7 @@ export default {
},
changShowMore (type) {
this.titleSearchListCopy[type].showMore = !this.titleSearchListCopy[type].showMore
- },
-
+ }
},
destroyed () {
window.removeEventListener('resize', this.needMore)
diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue
index 499213081..2bd65da57 100644
--- a/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/asset/assetBox.vue
@@ -527,15 +527,14 @@ export default {
this.showAllTalonOption = true
},
setLocationData ({ cabinet, dc, u }) {
- if (cabinet) {
- this.editAsset.cabinetId = cabinet.id
- }
- if (dc) {
- this.editAsset.dcId = dc.id
- }
+ this.editAsset.cabinetId = cabinet ? cabinet.id : ''
+ this.editAsset.dcId = dc ? dc.id : ''
if (u) {
this.editAsset.cabinetStart = u[0]
this.editAsset.cabinetEnd = u[1]
+ } else {
+ this.editAsset.cabinetStart = ''
+ this.editAsset.cabinetEnd = ''
}
},
removeLabel (label) {