Forráskód Böngészése

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

pengchongfu 8 éve
szülő
commit
fcbee106cf
1 módosított fájl, 1 hozzáadás és 0 törlés
  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 || ''
         };
       },