|
@@ -48,6 +48,10 @@ const props = defineProps({
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
},
|
|
|
+ api:{
|
|
|
+ type: String,
|
|
|
+ default: "/api/blade-resource/oss/"
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
//变量
|
|
@@ -59,7 +63,7 @@ const uploadFileInfo = ref({})
|
|
|
const uploadDisabled = ref(false)
|
|
|
|
|
|
// const api = '/api/blade-business/material/';
|
|
|
-const api = '/api/blade-resource/oss/';
|
|
|
+
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|