tangning 10 月之前
父節點
當前提交
76f3431a2d
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 1 1
      src/views/productOperation/cameraScene.vue

+ 1 - 1
.env.development

@@ -13,7 +13,7 @@ VITE_PROXY = [["/qjkankan","https://test.4dkankan.com/qjkankan"],["/takelook","h
 VITE_DROP_CONSOLE = false
 
 # Basic interface address SPA
-VITE_GLOB_API_URL=
+VITE_GLOB_API_URL=/tets
 
 # File upload address, optional
 VITE_GLOB_UPLOAD_URL=/upload

+ 1 - 1
.env.production

@@ -19,7 +19,7 @@ VITE_BUILD_COMPRESS = 'none'
 VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
 
 # Basic interface address SPA
-VITE_GLOB_API_URL=
+VITE_GLOB_API_URL=./
 
 # File upload address, optional
 # It can be forwarded by nginx or write the actual address directly

+ 1 - 1
src/views/productOperation/cameraScene.vue

@@ -451,7 +451,7 @@
       const downloadOption = ref<Object>({});
       const canDownload = ref<boolean>(true);
       function handleDownload(record: Recordable) {
-        let isObj = tableType.value == 5 || tableType.value == 7 ? 1 : 0;
+        let isObj = tableType.value == 5 || tableType.value == 7  ? 1 : 0;
         let params = { num: record.num, isObj: 0 };
         if (tableType.value == 4 || tableType.value == 5 || tableType.value == 7) {
           params.isObj = isObj;