|
|
@ -4,7 +4,7 @@ |
|
|
<div class="sfcon"> |
|
|
<div class="sfcon"> |
|
|
<div class="sfind"> |
|
|
<div class="sfind"> |
|
|
<!-- 选择服务器 --> |
|
|
<!-- 选择服务器 --> |
|
|
<select class="selbox" name="fsip" ref="fsip"> |
|
|
<select class="selbox" name="fsip" ref="fsip" @change="changeSer"> |
|
|
<option value="0">请选择源服务器</option> |
|
|
<option value="0">请选择源服务器</option> |
|
|
<option v-for="item in uslist" :value="item.addr+':'+item.port">{{ item.addr+':'+item.port }}</option> |
|
|
<option v-for="item in uslist" :value="item.addr+':'+item.port">{{ item.addr+':'+item.port }}</option> |
|
|
</select> |
|
|
</select> |
|
|
@ -114,7 +114,7 @@ export default { |
|
|
} |
|
|
} |
|
|
if(nflag==2){ |
|
|
if(nflag==2){ |
|
|
sel = this.$refs.ssip.value |
|
|
sel = this.$refs.ssip.value |
|
|
npath = this.sspath + path |
|
|
npath = this.sspath + path+"/" |
|
|
} |
|
|
} |
|
|
let rrarr = this.preIp(sel) |
|
|
let rrarr = this.preIp(sel) |
|
|
// ip转为base64 |
|
|
// ip转为base64 |
|
|
@ -148,7 +148,15 @@ export default { |
|
|
iparr.push(sstr[0]) |
|
|
iparr.push(sstr[0]) |
|
|
iparr.push(sstr[1]) |
|
|
iparr.push(sstr[1]) |
|
|
return iparr |
|
|
return iparr |
|
|
} |
|
|
}, |
|
|
|
|
|
// 选择服务器 |
|
|
|
|
|
changeSer(){ |
|
|
|
|
|
// 清空路径 |
|
|
|
|
|
this.fspath = '/' |
|
|
|
|
|
this.sspath = '/' |
|
|
|
|
|
// |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|