|
@@ -74,7 +74,7 @@ import { computed, ref, unref, watch, watchEffect } from "vue";
|
|
|
import { QuiskExpose } from "@/helper/mount";
|
|
|
import { CameraVersionEntity } from "@/store/cameraVersion";
|
|
|
import { useUpload } from "@/hook/upload";
|
|
|
-import { maxFileSize } from "@/constant/caseFile";
|
|
|
+import { maxAppFileSize } from "@/constant/caseFile";
|
|
|
import { CameraType } from "@/store/camera";
|
|
|
import { cameraTypeDesc } from "@/constant/camera";
|
|
|
import {
|
|
@@ -116,8 +116,8 @@ watchEffect(() => {
|
|
|
});
|
|
|
const { size, fileList, upload, removeFile, previewFile, file, accept } =
|
|
|
useUpload({
|
|
|
- maxSize: maxFileSize,
|
|
|
- formats: [".apk"],
|
|
|
+ maxSize: maxAppFileSize,
|
|
|
+ formats: [".zip"],
|
|
|
});
|
|
|
defineExpose<QuiskExpose>({
|
|
|
async submit() {
|