From 7c884ff8b7f821fe999aca6a43d4ad43d697b0ad Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期二, 12 十二月 2023 16:56:49 +0800
Subject: [PATCH] 修改视频专网互联网

---
 src/views/index.vue |   16 ++++++++--------
 vite.config.ts      |   12 ++++++++++++
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index 396b78f..429ffbb 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -102,11 +102,11 @@
     :close-on-click-modal = "false"
     :close-on-press-escape = "false"
     :show-close = "false"
-    :before-close="handleClose"
+
   >
-    <span @closePopup1="lookPawsd1()">
+
     <el-progress type="dashboard" :percentage="percentage2" :color="colors" />
-    </span>
+
     </el-dialog>
   </div>
 </template>
@@ -127,7 +127,7 @@
 const dialogVisible = ref(false)
 
 const state = reactive({
-      mytime:null,//瀹氫箟瀹氭椂鍣�
+      mytime:0,//瀹氫箟瀹氭椂鍣�
     })
 const percentage = ref(10)
 const percentage2 = ref(0)
@@ -153,14 +153,14 @@
   }
 }
 onMounted(() => {
-  
+
 
 })
 watch(percentage2, (new1,new2) => {
   console.log(new1,new2)
   if(new1 == 95){
     clearInterval(state.mytime);
-    state.mytime = null;
+    state.mytime = 0;
   }
 })
 const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -349,7 +349,7 @@
   console.log(row);
   // row.msg = ':/"123456'
    clearInterval(state.mytime);
-    state.mytime = null;
+    state.mytime = 0;
   if(row == '123123'){
     dialogVisible.value = true;
     state.mytime = setInterval(() => {
@@ -359,7 +359,7 @@
   else{
     dialogVisible.value = false;
     clearInterval(state.mytime);
-    state.mytime = null;
+    state.mytime = 0;
     testtxt.value = row.password;
       testtxt.value = row.msg.slice(2);
       titleDownload.value = '鏌ョ湅鎻愬彇鐮�'
diff --git a/vite.config.ts b/vite.config.ts
index e796784..fe667e0 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -18,6 +18,18 @@
       },
       extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
     },
+    build: {
+      outDir: 'build',
+      assetsDir: 'assets',
+      manifest: false,
+      rollupOptions: {
+        output: {
+          entryFileNames: `assets/[name].js`,
+          chunkFileNames: `assets/[name].js`,
+          assetFileNames: `assets/[name].[ext]`,
+        }
+      }
+    },
     // https://cn.vitejs.dev/config/#resolve-extensions
     plugins: createPlugins(env, command === 'build'),
     server: {

--
Gitblit v1.8.0