下载地址
This commit is contained in:
parent
6c2db1ee8a
commit
090816c33d
|
@ -8,7 +8,7 @@
|
||||||
<template>
|
<template>
|
||||||
<a-upload
|
<a-upload
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
:action="`${window.SITE_CONFIG.apiURL}/upload`"
|
:action="`${apiURL}/upload`"
|
||||||
list-type="picture"
|
list-type="picture"
|
||||||
class="upload-list-inline"
|
class="upload-list-inline"
|
||||||
:maxCount="props.maxCount"
|
:maxCount="props.maxCount"
|
||||||
|
@ -47,6 +47,7 @@
|
||||||
list: { type: Array, default: null },
|
list: { type: Array, default: null },
|
||||||
emitFlag: { type: String, default: '' },
|
emitFlag: { type: String, default: '' },
|
||||||
})
|
})
|
||||||
|
const apiURL = window.SITE_CONFIG.apiURL
|
||||||
const fileList = ref([])
|
const fileList = ref([])
|
||||||
if (props.list.length > 0) {
|
if (props.list.length > 0) {
|
||||||
fileList.value = JSON.parse(JSON.stringify(props.list))
|
fileList.value = JSON.parse(JSON.stringify(props.list))
|
||||||
|
|
Loading…
Reference in New Issue