diff --git a/components/DropDown/DropDown.vue b/components/DropDown/DropDown.vue index f72e5d6..759b222 100644 --- a/components/DropDown/DropDown.vue +++ b/components/DropDown/DropDown.vue @@ -20,7 +20,7 @@ - + @@ -61,6 +61,10 @@ this.activeIndex = -1; }else this.activeIndex = index + }, + cancelDrop() { + console.log("取消遮罩"); + this.activeIndex = -1; } }, diff --git a/components/DropDown/DropDownItem.vue b/components/DropDown/DropDownItem.vue index 87ce2f2..c69318a 100644 --- a/components/DropDown/DropDownItem.vue +++ b/components/DropDown/DropDownItem.vue @@ -1,12 +1,13 @@