上传文件错误无法重新选择文件
This commit is contained in:
parent
946a189b82
commit
42035104ac
@ -3,12 +3,7 @@
|
|||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<XTable @register="registerTable">
|
<XTable @register="registerTable">
|
||||||
<template #toolbar_buttons>
|
<template #toolbar_buttons>
|
||||||
<XButton
|
<XButton type="primary" preIcon="ep:upload" title="上传文件" @click="uploadDialog" />
|
||||||
type="primary"
|
|
||||||
preIcon="ep:upload"
|
|
||||||
title="上传文件"
|
|
||||||
@click="uploadDialogVisible = true"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
<template #actionbtns_default="{ row }">
|
<template #actionbtns_default="{ row }">
|
||||||
<XTextButton
|
<XTextButton
|
||||||
@ -166,7 +161,11 @@ const handleDetail = (row: FileApi.FileVO) => {
|
|||||||
dialogTitle.value = t('action.detail')
|
dialogTitle.value = t('action.detail')
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
}
|
||||||
|
// 打开上传对话框
|
||||||
|
const uploadDialog = () => {
|
||||||
|
uploadDialogVisible.value = true
|
||||||
|
uploadDisabled.value = false
|
||||||
|
}
|
||||||
// ========== 复制相关 ==========
|
// ========== 复制相关 ==========
|
||||||
const handleCopy = async (text: string) => {
|
const handleCopy = async (text: string) => {
|
||||||
let url = text
|
let url = text
|
||||||
|
Loading…
Reference in New Issue
Block a user