上传文件错误无法重新选择文件

This commit is contained in:
gexinzhineng/gxzn27 2023-04-12 11:16:00 +08:00
parent 946a189b82
commit 42035104ac

View File

@ -3,12 +3,7 @@
<!-- 列表 -->
<XTable @register="registerTable">
<template #toolbar_buttons>
<XButton
type="primary"
preIcon="ep:upload"
title="上传文件"
@click="uploadDialogVisible = true"
/>
<XButton type="primary" preIcon="ep:upload" title="上传文件" @click="uploadDialog" />
</template>
<template #actionbtns_default="{ row }">
<XTextButton
@ -166,7 +161,11 @@ const handleDetail = (row: FileApi.FileVO) => {
dialogTitle.value = t('action.detail')
dialogVisible.value = true
}
//
const uploadDialog = () => {
uploadDialogVisible.value = true
uploadDisabled.value = false
}
// ========== ==========
const handleCopy = async (text: string) => {
let url = text