guanqb
2023-04-03 2595c6e0b070f03750f85642f19751dd67afb3a1
src/components/select/index.vue
@@ -58,6 +58,7 @@
            this.$emit("selectCheck", item, index)
        },
        selectClick () {
            console.log(this.selectAllClass, this.options.length)
            if (this.selectAllClass == true) return
            this.optionsShow = !this.optionsShow
        }
@@ -68,12 +69,12 @@
<style lang="scss" scoped>
//显示下拉框
.options-box-show {
    display: block;
    display: block !important;
}
//隐藏下拉框
.options-box-hide {
    display: none;
    display: none !important;
}
//点击时改变选择框的边框颜色