mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-10 01:08:21 +08:00
调整上传接口地址
This commit is contained in:
@@ -77,7 +77,7 @@ export default defineComponent({
|
||||
setup(props, { emit }) {
|
||||
const userStore = useUserStore()
|
||||
const uploadRefs = shallowRef<InstanceType<typeof ElUpload>>()
|
||||
const action = ref(`${config.baseUrl}${config.urlPrefix}/upload/${props.type}`)
|
||||
const action = ref(`${config.baseUrl}${config.urlPrefix}/common/upload/${props.type}`)
|
||||
const headers = computed(() => ({
|
||||
token: userStore.token,
|
||||
version: config.version
|
||||
|
||||
Reference in New Issue
Block a user