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