|
|
|
@ -110,11 +110,22 @@ export default { |
|
|
|
if(nflag==1){ |
|
|
|
sel=this.$refs.fsip.value |
|
|
|
// 拼装url |
|
|
|
npath = this.fspath + path |
|
|
|
if(this.fspath == '/'){ |
|
|
|
npath = '/' + path |
|
|
|
}else{ |
|
|
|
npath = this.fspath + '/' + path |
|
|
|
} |
|
|
|
// npath = this.fspath== '/' ? "/"+path : this.fspath + path |
|
|
|
} |
|
|
|
if(nflag==2){ |
|
|
|
sel = this.$refs.ssip.value |
|
|
|
npath = this.sspath + path+"/" |
|
|
|
if(this.sspath=='/'){ |
|
|
|
npath = '/' + path |
|
|
|
}else{ |
|
|
|
npath = this.sspath + '/' + path |
|
|
|
} |
|
|
|
// npath = this.sspath + path+"/" |
|
|
|
// npath = this.sspath == '/' ? "/"+path : this.fspath + path |
|
|
|
} |
|
|
|
let rrarr = this.preIp(sel) |
|
|
|
// ip转为base64 |
|
|
|
|