diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index c68bfb5..70031c4 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -233,7 +233,7 @@ import '@/utils/WebScan'; export default { name: "Collection", components: {Treeselect}, - dicts: ['total_task', 'tatal_task_pic'], + dicts: ['total_task', 'tatal_task_pic', 'url'], data() { return { tsVisible: false, @@ -295,9 +295,10 @@ export default { WebScanInit(){ let _this = this; + let WebScanUrl = this.dict.type.url[0].value; _this.WebScan = new WebScan({ - url:'http://localhost:18989/WebScan', + url: WebScanUrl, wsUrl:'http://localhost:28989/', licence:'V4tMKPYgFtW8vQr4C0s4/g==' }); @@ -311,7 +312,6 @@ export default { _this.WebScanGetDevices() } }) - }, // 获取设备列表 WebScanGetDevices(){