DESKTOP-SVI9JE1\muzen 1 anno fa
parent
commit
67ff755d8e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/Upload/index.vue

+ 1 - 1
src/components/Upload/index.vue

@@ -64,7 +64,7 @@ const props = defineProps({
 // 上传地址
 const baseUrl = ref(import.meta.env.VITE_APP_BASE_API)
 
-const action = ref(`${baseUrl.value}/common/upload`)
+const action = ref(`${baseUrl.value}/common/oss/upload`)
 
 const reactiveData = reactive({
   headers: { Authorization: "Bearer " + getToken() },