From 6c2d4c890f0710b0652f5f520dc7a1c25f005073 Mon Sep 17 00:00:00 2001 From: xc Date: Thu, 13 Nov 2025 18:17:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A2=84=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/afvue/src/views/Sfilecompare.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vue/afvue/src/views/Sfilecompare.vue b/vue/afvue/src/views/Sfilecompare.vue index 941b930..5f07261 100644 --- a/vue/afvue/src/views/Sfilecompare.vue +++ b/vue/afvue/src/views/Sfilecompare.vue @@ -83,7 +83,7 @@ -
+
@@ -126,6 +126,7 @@ export default { menuLeft: 0, // 菜单左侧位置 dialogShow: false, // 对话框是否可见 isShowDir: false, // 只显示目录 + hasTwolist: false, // 是否有两个服务器的文件列表 diffFiles: [], // 差异文件 } @@ -176,6 +177,11 @@ export default { setTimeout(() => { this.diffFlist() }, 3000) + + // 如果存在第一条 + if (this.fsclist.length > 0 && this.ssclist.length > 0) { + this.hasTwolist=true + } }, // 对比web端文件列表