qiushang 2 月之前
父节点
当前提交
857c7b8ccd
共有 3 个文件被更改,包括 11 次插入5 次删除
  1. 3 3
      nsis/test.nsi
  2. 1 1
      package.json
  3. 7 1
      src/renderer/components/home.vue

+ 3 - 3
nsis/test.nsi

@@ -1,16 +1,16 @@
 # ====================== 自定义宏 产品信息==============================
 !define PRODUCT_MID        		    "EkoFCqqaUJXy"
-!define PRODUCT_VERSION        		"2.0.5.1"
+!define PRODUCT_VERSION        		"2.0.6.0"
 !define PRODUCT_NAME           		"星优视频解析下载器"
 !define INSTALL_OUTPUT_NAME    		"XYCaptureVideo_XY.exe" 
 !define EXE_NAME               		"XYCaptureVideo.exe"
 !define PRODUCT_PATHNAME           	"XYCaptureVideo"     #安装卸载项用到的KEY,注册表
 !define INSTALL_APPEND_PATH         "XYCaptureVideo"     #安装路径追加的名称 
-!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYCaptureVideo/lastest2.0.5.1.7z"
+!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYCaptureVideo/lastest2.0.6.0.7z"
 !define PRODUCT_PUBLISHER      	    "苏州星优办公软件有限公司"
 !define PRODUCT_LEGAL          	    "苏州星优办公软件有限公司"
 !define STATISTICS_url              "https://www.xingyousoft.com/api/index/user_log"   # 统计网址
-!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYCaptureVideo/uninstallWeb/?v=2.0.5.1"   # 接卸优惠网址
+!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYCaptureVideo/uninstallWeb/?v=2.0.6.0"   # 接卸优惠网址
 
 # ====================== 自定义宏 安装信息==============================
 !define INSTALL_7Z_NAME 	   		"app.7z"

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 	"name": "XYCaptureVideo",
-	"version": "2.0.5.1",
+	"version": "2.0.6.0",
 	"author": "苏州星优办公软件有限公司",
 	"description": "An electron-vue project",
 	"license": "captureVideo",

+ 7 - 1
src/renderer/components/home.vue

@@ -508,6 +508,7 @@
 					const regex = /https:\/\/.*?.douyin.com/;
 					const res = regex.exec(formatUrl);
 					if(res && res.length > 0){ //抖音视频解析,使用puputter
+						this.selectIndex = -1;
 						this.videoList = [];
 						let reg2 = /[?&]modal_id=(\w+)/;
 						let res2 = reg2.exec(formatUrl);
@@ -522,8 +523,8 @@
 					
 					this.parseLoading = true;
 					this.tabLoading = true;
-					this.videoList = [];
 					this.selectIndex = -1;
+					this.videoList = [];
 					let params = [
 						'--dump-json',
 						formatUrl
@@ -649,6 +650,10 @@
 							})
 						}
 						
+						if(flag){
+							this.dyModal = false;
+						}
+						
 						item.status = '2';
 						item.loading = true;
 						await this.downloadImage(url, outputPath, item);
@@ -897,6 +902,7 @@
 				
 				this.parseLoading = true;
 				this.tabLoading = true;
+				this.selectIndex = -1;
 				this.videoList = [];
 				
 				setTimeout(()=> {