修改 ImageUpload 组件的回显 url 地址
This commit is contained in:
@ -114,7 +114,7 @@ function handleRemove(file, files) {
|
||||
|
||||
// 上传成功回调
|
||||
function handleUploadSuccess(res) {
|
||||
uploadList.value.push({ name: res.fileName, url: res.fileName });
|
||||
uploadList.value.push({ name: res.fileName, url: res.url });
|
||||
if (uploadList.value.length === number.value) {
|
||||
fileList.value = fileList.value.filter(f => f.url !== undefined).concat(uploadList.value);
|
||||
uploadList.value = [];
|
||||
|
@ -62,10 +62,6 @@
|
||||
@queryTable="getList"
|
||||
></right-toolbar>
|
||||
</el-row>
|
||||
<!-- <RightToolBar
|
||||
v-model:showSearch="showSearch"
|
||||
@queryTable="getList"
|
||||
></RightToolBar> -->
|
||||
<el-table v-loading="loading" :data="dataList">
|
||||
<el-table-column label="数据编号" prop="id" align="center" />
|
||||
<el-table-column
|
||||
|
Reference in New Issue
Block a user