src/components/tem/tem-upload-file.vue
@@ -33,7 +33,7 @@ :style="{width:width+'rpx',borderRadius:radius+'rpx',borderColor:borderColor,borderStyle:borderSytle}" v-if="showAdd" @tap.stop="chooseImage"> <slot> <u-button type="primary" text="上传" size="small"></u-button> <u-button type="primary" :text="btnText" size="small"></u-button> <!-- <fui-icon name="plus" :size="addSize" :color="addColor"></fui-icon> --> </slot> </view> @@ -58,6 +58,10 @@ // fuiIcon // }, props: { btnText: { type: String, default: '上传' }, width: { type: [Number, String], default: 190