update: upload组件替换
This commit is contained in:
parent
1cfb9edc35
commit
cdd755a369
|
@ -55,7 +55,7 @@
|
|||
allowClear
|
||||
>
|
||||
<template #addonAfter>
|
||||
<a-upload
|
||||
<j-upload
|
||||
name="file"
|
||||
:action="FILE_UPLOAD"
|
||||
:headers="headers"
|
||||
|
@ -63,7 +63,7 @@
|
|||
@change="handleFileChange"
|
||||
>
|
||||
<AIcon type="UploadOutlined" />
|
||||
</a-upload>
|
||||
</j-upload>
|
||||
</template>
|
||||
</j-input>
|
||||
<j-input
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
>
|
||||
新增
|
||||
</PermissionButton>
|
||||
<a-upload
|
||||
<j-upload
|
||||
name="file"
|
||||
accept=".json"
|
||||
:showUploadList="false"
|
||||
|
@ -33,7 +33,7 @@
|
|||
<PermissionButton hasPermission="notice/Config:import">
|
||||
导入
|
||||
</PermissionButton>
|
||||
</a-upload>
|
||||
</j-upload>
|
||||
<j-popconfirm
|
||||
title="确认导出?"
|
||||
ok-text="确定"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
>
|
||||
<j-input v-model:value="item.name" @change="emitEvents">
|
||||
<template #addonAfter>
|
||||
<a-upload
|
||||
<j-upload
|
||||
name="file"
|
||||
:action="FILE_UPLOAD"
|
||||
:headers="{
|
||||
|
@ -18,7 +18,7 @@
|
|||
@change="(e) => handleChange(e, item.id)"
|
||||
>
|
||||
<upload-outlined />
|
||||
</a-upload>
|
||||
</j-upload>
|
||||
</template>
|
||||
</j-input>
|
||||
<delete-outlined
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
>
|
||||
新增
|
||||
</PermissionButton>
|
||||
<a-upload
|
||||
<j-upload
|
||||
name="file"
|
||||
accept=".json"
|
||||
:showUploadList="false"
|
||||
|
@ -35,7 +35,7 @@
|
|||
>
|
||||
导入
|
||||
</PermissionButton>
|
||||
</a-upload>
|
||||
</j-upload>
|
||||
<j-popconfirm
|
||||
title="确认导出?"
|
||||
ok-text="确定"
|
||||
|
|
Loading…
Reference in New Issue