fix: 解决文件选择框关闭再打开依然选中的问题 (#4243)

pull/4245/head
zhengkunwang 8 months ago committed by GitHub
parent 8cf8375911
commit cd43bff44d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@
popper-class="file-list"
>
<template #reference>
<el-button :icon="Folder" :disabled="disabled" @click="popoverVisible = true"></el-button>
<el-button :icon="Folder" :disabled="disabled" @click="openPage()"></el-button>
</template>
<div>
<el-button class="close" link @click="closePage">
@ -145,6 +145,12 @@ const closePage = () => {
selectRow.value = {};
};
const openPage = () => {
popoverVisible.value = true;
selectRow.value = {};
rowName.value = '';
};
const disabledDir = (row: File.File) => {
if (props.isAll) {
return false;

Loading…
Cancel
Save