浏览代码

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

pengchongfu 8 年之前
父节点
当前提交
fcbee106cf
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 || ''
         };
       },