WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.uvue
@@ -29,8 +29,8 @@
            default: '#333333'
         },
         size: {
            type: Object,
            default: 16
        type: [Number, String],
        default: 16
         },
         fontFamily: {
            type: String,
@@ -51,9 +51,9 @@
         iconSize() : string {
            const size = this.size
            if (typeof size == 'string') {
               const reg = /^[0-9]*$/g
               return reg.test(size as string) ? '' + size + 'px' : '' + size;
               // return '' + this.size
              const reg = /^[0-9]*$/g
              return reg.test(size as string) ? '' + size + 'px' : '' + size;
              // return '' + this.size
            }
            return this.getFontSize(size as number)
         },