From 2e2f858140ded6b871d129d6404c1dce02b2a7f9 Mon Sep 17 00:00:00 2001 From: xc Date: Thu, 4 Sep 2025 18:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aufs/core/dtmem.go | 14 +++++++------- vue/afvue/src/views/Compare.vue | 12 +++++------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/aufs/core/dtmem.go b/aufs/core/dtmem.go index 0ee525b..2429c29 100644 --- a/aufs/core/dtmem.go +++ b/aufs/core/dtmem.go @@ -45,13 +45,13 @@ func Dtmem(w http.ResponseWriter, r *http.Request) { } // 服务的状态 - var scs string - err = client.Call("SysmonitorService.GetSysInfo", args, &scs) - if err != nil { - fmt.Fprintf(w, "jsonrpc call faild %v", err) - return - } - fmt.Printf("scs: %v\n", scs) + // var scs string + // err = client.Call("SysmonitorService.GetSysInfo", args, &scs) + // if err != nil { + // fmt.Fprintf(w, "jsonrpc call faild %v", err) + // return + // } + // fmt.Printf("scs: %v\n", scs) // fmt.Printf("reply: %v", reply) //replyJson, err := json.Marshal(reply) diff --git a/vue/afvue/src/views/Compare.vue b/vue/afvue/src/views/Compare.vue index 236cac9..18c6eef 100644 --- a/vue/afvue/src/views/Compare.vue +++ b/vue/afvue/src/views/Compare.vue @@ -11,10 +11,9 @@

罗列出需要同步的文件,确认后才能同步

-
- @@ -22,14 +21,14 @@
-
-
+ @@ -306,10 +305,9 @@ export default { methods: { // gocompare() { - let form = this.$refs.compform; // 读取表单中的值 - let scip = form.srcip.value; - let dcip = form.dstip.value; + let scip = this.$refs.srcip.value; + let dcip = this.$refs.dstip.value; // if(scip == dcip){ alert("源服务器和目标服务器不能相同");