diff --git a/src/component/LibraryPage/setLabel.vue b/src/component/LibraryPage/setLabel.vue index 830c7ddb..f7cde38e 100644 --- a/src/component/LibraryPage/setLabel.vue +++ b/src/component/LibraryPage/setLabel.vue @@ -163,6 +163,7 @@ export default defineComponent({ this.deleteShow(this.options) }, clearOpenType(){ + this.labelBor = false this.openType = false this.options.forEach((optionsItem:any) => { optionsItem.openType = false @@ -257,7 +258,8 @@ export default defineComponent({ } }); data.classificationIdList = classificationIdList - this.deleteClass(data) + if(classificationIdList.length > 0) this.deleteClass(data) + this.labelBor = false }, addLabel(val:any){ let data = this.setLabelData()