From 4d660d5d8ecac35a967abffa9b91b7c0471102fc Mon Sep 17 00:00:00 2001 From: wanglei Date: Tue, 28 May 2024 17:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/collection/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 54ce810..12ec0f0 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -234,16 +234,22 @@ export default { _this.WebScan = new WebScan({ url:'http://localhost:18989/WebScan', wsUrl:'http://localhost:28989/', - licence:'ND8NSUzCysU1gCr78aj57g==' + licence:'D+1WT4eWDqLseG5433yq9w==' }); + + _this.WebScan.initSef('',function (result){ if(result.code!=200){ this.$alert(`初始化失败,返回错误:${result.msg}`, `提示`, { type: 'error' }); }else { - _this.WebScanGetDevices() + + _this.WebScan.clearLicence (function(result){ + console.log(result); + }) + // _this.WebScanGetDevices() } })