档案采集

master
wanglei 1 year ago
parent 6121e27379
commit c5957e5f36

@ -410,20 +410,18 @@ export default {
},
created() {
this.getDeptTree();
this.getIpAdress();
},
methods: {
getIpAdress(){
getIp().then(response => {
this.Ip = response
});
},
//
WebScanInit(){
async WebScanInit(){
let Ip = await getIp().then(response => {
return response;
});
let _this = this;
_this.WebScan = new WebScan({
url: "http://"+this.Ip+":18989/WebScan",
url: "http://"+Ip+":18989/WebScan",
wsUrl:'http://localhost:28989/',
licence:'V4tMKPYgFtW8vQr4C0s4/g=='
});

Loading…
Cancel
Save