Merge pull request 'refactor(components): 优化文件上传成功提示' (#1033) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1033
This commit is contained in:
@@ -137,10 +137,9 @@ const startUpload = (files) => {
|
||||
// 使用 Promise.all 监听所有文件上传完成
|
||||
Promise.all(uploadPromises.value)
|
||||
.then(() => {
|
||||
ElMessage.success('所有文件上传完成!');
|
||||
ElNotification({
|
||||
title: '提示',
|
||||
message: '文件上传成功',
|
||||
message: '所有文件上传完成!',
|
||||
type: 'success'
|
||||
})
|
||||
files = []; // 清空文件列表
|
||||
|
||||
Reference in New Issue
Block a user