浏览代码

默认值处理

WH01243 7 月之前
父节点
当前提交
44e70b71c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jyBXCore/rpc/service/operator.go

+ 1 - 1
jyBXCore/rpc/service/operator.go

@@ -351,7 +351,7 @@ func getLabel(entId int64) []map[string]interface{} {
 				if _, exists := labels[pid]; exists {
 				if _, exists := labels[pid]; exists {
 					if len(labelOptions[pid]) == 0 {
 					if len(labelOptions[pid]) == 0 {
 						labelOptions[pid] = append(labelOptions[pid], map[string]interface{}{
 						labelOptions[pid] = append(labelOptions[pid], map[string]interface{}{
-							"label": 全部,
+							"label": "全部",
 							"value": "",
 							"value": "",
 						})
 						})
 					}
 					}