From 7ccb93b3c89d8ad482a248e62f3f15d2db707516 Mon Sep 17 00:00:00 2001 From: xc Date: Wed, 10 Sep 2025 15:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/afvue/src/views/Sfilecompare.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/vue/afvue/src/views/Sfilecompare.vue b/vue/afvue/src/views/Sfilecompare.vue index 0135480..e434a80 100644 --- a/vue/afvue/src/views/Sfilecompare.vue +++ b/vue/afvue/src/views/Sfilecompare.vue @@ -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