diff --git a/web/src/components/fileSelector/index.vue b/web/src/components/fileSelector/index.vue
index ca56c89..9f80e0d 100644
--- a/web/src/components/fileSelector/index.vue
+++ b/web/src/components/fileSelector/index.vue
@@ -3,19 +3,22 @@
-
+
-
+
+
@@ -25,7 +28,7 @@
style="position: relative; display: flex; align-items: center; justify-items: center;"
:style="{ width: props.inputImageSize * 2 + 'px', height: props.inputImageSize + 'px' }">
-
@@ -167,7 +170,6 @@ const listRequest = async () => {
selectedInit();
};
const listRequestAll = async () => {
- console.log(props.inputType)
if (props.inputType !== 'selector') return;
let res = await fileApi.GetAll();
listAllData.value = res.data;
@@ -226,7 +228,7 @@ const dataClear = () => { data.value = null; onDataChange(null); }
// fs-crud部分
-const data = ref();
+const data = ref(null);
const emit = defineEmits(['update:modelValue']);
watch(() => props.modelValue, (val) => { data.value = val; }, { immediate: true });
const { ui } = useUi();