Commit bb078aa4 authored by 许俊鹏's avatar 许俊鹏

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

允许输入为空

See merge request alpha/sun!343
parents 439dea0e 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