-
zhangwei
2026-04-07 b7ae3f69ae6706a692284d2f12835d213debfb1a
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,13 +58,17 @@
      //    fuiIcon
      // },
      props: {
         btnText: {
            type: String,
            default: '上传'
         },
         width: {
            type: [Number, String],
            default: 200
            default: 190
         },
         height: {
            type: [Number, String],
            default: 200
            default: 190
         },
         fileList: {
            type: Array,
@@ -240,6 +244,7 @@
            this.status = status;
         },
         reUpload(index) {
            console.log(index,'00000000000’');
            this.$set(this.status, index, 'uploading')
            if (this.callUpload) {
               this.$emit('reupload', {