上传bug处理,bug日志记录2

uat_us
熊飞 2024-01-16 14:00:27 +08:00
parent 7bd25cf192
commit fc6d99b01d
1 changed files with 3 additions and 2 deletions

View File

@ -132,10 +132,11 @@
<el-divider content-position="left">{{ $t('trials:uploadedDicoms:title:dicomFilesOnly') }}</el-divider>
<div class="form-group">
<div id="directoryInputWrapper" class="btn btn-link file-input">
<el-button type="primary" :loading="btnLoading" size="small">{{ $t('trials:uploadedDicomsicom:button:selectFolder') }}</el-button>
<el-button type="primary" :disabled="btnLoading" :loading="btnLoading" size="small">{{ $t('trials:uploadedDicomsicom:button:selectFolder') }}</el-button>
<input
type="file"
name="file"
:disabled="btnLoading"
webkitdirectory
multiple
@change="beginScanFiles($event)"
@ -1240,7 +1241,7 @@ export default {
},
// CheckBox
handleSelectable(row) {
if (row.uploadState.selected) {
if (row.uploadState.selected || this.btnLoading) {
return false
} else {
return true