Explorar o código

Radio: radio button box-shadow, fixed #3978 (#4002)

pengchongfu %!s(int64=8) %!d(string=hai) anos
pai
achega
fcbee106cf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/radio/src/radio-button.vue

+ 1 - 0
packages/radio/src/radio-button.vue

@@ -53,6 +53,7 @@
         return {
           backgroundColor: this._radioGroup.fill || '',
           borderColor: this._radioGroup.fill || '',
+          boxShadow: this._radioGroup.fill ? `-1px 0 0 0 ${this._radioGroup.fill}` : '',
           color: this._radioGroup.textColor || ''
         };
       },