diff --git a/src/components/d2-icon-select/index.vue b/src/components/d2-icon-select/index.vue index 7016a9bc..18db2fc8 100644 --- a/src/components/d2-icon-select/index.vue +++ b/src/components/d2-icon-select/index.vue @@ -146,9 +146,6 @@ export default { watch: { value (value) { this.currentValue = value - }, - currentValue (value) { - this.selectIcon(value) } }, created () { diff --git a/src/components/d2-icon-svg-select/index.vue b/src/components/d2-icon-svg-select/index.vue index 1f813374..1ed98438 100644 --- a/src/components/d2-icon-svg-select/index.vue +++ b/src/components/d2-icon-svg-select/index.vue @@ -135,9 +135,6 @@ export default { watch: { value (value) { this.currentValue = value - }, - currentValue (value) { - this.selectIcon(value) } }, created () { @@ -171,13 +168,11 @@ export default { display: flex; justify-content: center; align-items: center; - color: $color-text-sub; svg { height: 20px; width: 20px; } &:hover { - color: $color-text-main; background-color: $color-bg; border-radius: 4px; box-shadow: inset 0px 0px 0px 1px $color-border-1;