有一种办法是直接给a-upload加disbale
<a-upload
// 加这句代码就行了
:disabled="(title === '查看') || (status === 'A')"
// 还可以加这个 这个是组件自带
:showUploadList={{showRemoveIcon:false}}
:action="getUploadAction()"
list-type="picture"
:headers="tokenHeader"
@change="handleChange($event,index,indexcin)"
:remove='removePhtoto'
:default-file-list="itemcin.fileList"
class="upload-list-inline"
@preview="preview"
>