Pre Merge pull request !37 from 哦是吗/N/A
This commit is contained in:
commit
ef78190bbe
@ -322,6 +322,8 @@ export function useUpload(
|
|||||||
() => bindValue.value,
|
() => bindValue.value,
|
||||||
async (value) => {
|
async (value) => {
|
||||||
if (value.length === 0) {
|
if (value.length === 0) {
|
||||||
|
// 清空绑定值时,同时清空innerFileList,避免外部使用时还能读取到
|
||||||
|
innerFileList.value = [];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user