Przeglądaj źródła

fix:修复Python允许的bug

Roc 1 rok temu
rodzic
commit
a72dc1ef30
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      controllers/base_from_calculate.go

+ 1 - 1
controllers/base_from_calculate.go

@@ -1525,7 +1525,7 @@ func (this *CalculateController) Refresh() {
 			br.Msg = "获取数据失败"
 			br.ErrMsg = "python代码获取数据失败,err:" + err.Error()
 			if errMsg != "" {
-				br.ErrMsg = errMsg
+				br.Msg = errMsg
 			}
 			return
 		}