Browse Source

fix: 允许fbx

bill 2 năm trước cách đây
mục cha
commit
aafeb71f1e
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/views/project/edit.vue
  2. 1 1
      src/views/scene/upload-bim.vue

+ 1 - 1
src/views/project/edit.vue

@@ -63,7 +63,7 @@
         <Upload
           v-model:file="project.bimFile"
           :max-size="5 * 1024"
-          :extnames="['ifc']"
+          :extnames="['ifc', 'fbx']"
         />
       </a-form-item>
     </a-form>

+ 1 - 1
src/views/scene/upload-bim.vue

@@ -13,7 +13,7 @@
       :disabled="update"
       :file="data.file"
       :max-size="5 * 1024"
-      :extnames="['ifc']"
+      :extnames="['ifc', 'fbx']"
       @update:file="file => $emit('update:data', { ...data, file })"
     />
   </a-form-item>