Commit dc54a451 authored by 钟尚武's avatar 钟尚武

Merge branch 'xujunpeng/feature/cancle_input_check' into 'master'

允许输入为空

See merge request alpha/sun!344
parents 4e827ba4 d191292a
......@@ -101,6 +101,9 @@ class SkinCheckConfig(APIView):
return text.replace(" ", "")
def _input_string_check(self, text, check_str):
# 允许输入为空
if not text:
return True
"""
输入内容标签符号校验,是否都是 check_str
:param text:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment