上传bug处理,bug日志记录2
parent
7bd25cf192
commit
fc6d99b01d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue