协议问题解决

This commit is contained in:
2026-01-12 11:45:37 +08:00
parent 6336f89f0d
commit 26df740dd0
16 changed files with 728 additions and 243 deletions

View File

@@ -122,18 +122,6 @@
</div>
</div>
</div>
<!-- 上传按钮 -->
<div v-if="selectedFiles.length > 0" class="upload-actions">
<el-button
type="primary"
@click="handleUpload"
:loading="uploading"
:disabled="selectedFiles.length === 0"
>
{{ uploading ? '上传中...' : '确定上传' }}
</el-button>
</div>
</div>
<el-dialog
@@ -362,10 +350,8 @@ function handleFileSelect(event: Event) {
// 清空 input允许重复选择同一文件
input.value = '';
// cover模式下选择文件后立即上传
if (props.listType === 'cover') {
handleUpload();
}
// 选择文件后立即上传
handleUpload();
}
}