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 @@
罗列出需要同步的文件,确认后才能同步
- + @@ -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("源服务器和目标服务器不能相同");