bug修复

This commit is contained in:
wuhongjian 2022-06-28 10:31:46 +08:00
parent aba4021537
commit 5cf50fe7f7
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,7 @@
<a-upload <a-upload
v-model:file-list="fileList" v-model:file-list="fileList"
name="file" name="file"
:action="`${window.SITE_CONFIG.apiURL}/upload`" :action="upLoadUrl"
:headers="headers" :headers="headers"
@change="handleChange" @change="handleChange"
> >
@ -242,6 +242,7 @@
}, },
setup() { setup() {
const disabled = ref(false) const disabled = ref(false)
const upLoadUrl = ref(window.SITE_CONFIG.apiURL + '/upload')
const formName = reactive({ const formName = reactive({
applyUserDeptId: '', applyUserDeptId: '',
applyUserDeptName: '', applyUserDeptName: '',
@ -346,6 +347,7 @@
disabled, disabled,
signOut, signOut,
processStartHandle, processStartHandle,
upLoadUrl,
// baseURL, // baseURL,
} }
}, },