From 0a3f7fcd791f9c71838fee5233d70df88e8db46b Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 12 Jul 2024 14:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86=20?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E4=BB=AA=E5=9C=B0=E5=9D=80=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(){