Kaynağa Gözat

fix:管理规则添加

zqbao 6 ay önce
ebeveyn
işleme
5a36fee302
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      services/data/excel/excel_info.go

+ 2 - 0
services/data/excel/excel_info.go

@@ -719,8 +719,10 @@ func ExcelRuleFormat(req *request.ExcelRuleMappingReq, lang string) (res *excel.
 		if err != nil {
 			return nil, err
 		}
+		res.LeftValue = req.LeftValue
 		res.LeftValueBack = fmt.Sprintf("%d,%d", x, y)
 	default:
+		res.LeftValue = req.LeftValue
 		res.LeftValueBack = req.LeftValue
 	}
 	switch req.RightValueType {