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() } })