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

允许输入为空

parent 4e374248
......@@ -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