ziwen 1 жил өмнө
parent
commit
3c7569397d

+ 1 - 1
controllers/yanxuan_special.go

@@ -269,7 +269,7 @@ func (this *YanxuanSpecialController) Save() {
 		br.Msg = "请输入内容"
 		return
 	}
-	if req.Tags == "" {
+	if req.Tags == "" && req.DoType == 2 {
 		br.Msg = "请至少输入一个标签"
 		return
 	}