|
@@ -66,11 +66,11 @@ namespace GFGGame
|
|
|
}
|
|
|
private async void OnBtnSaveClick()
|
|
|
{
|
|
|
- // if (!Regex.IsMatch(_ui.m_txtContent.text, @"^[\u4e00-\u9fa5_0-9]+$"))
|
|
|
- // {
|
|
|
- // PromptController.Instance.ShowFloatTextPrompt("雅集公告仅允许汉字、数字、下划线");
|
|
|
- // return;
|
|
|
- // }
|
|
|
+ if (!Regex.IsMatch(_ui.m_txtContent.text, @"^[\u4e00-\u9fa5_0-9]+$"))
|
|
|
+ {
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("雅集公告仅允许汉字、数字、下划线");
|
|
|
+ return;
|
|
|
+ }
|
|
|
bool result = await LeagueSproxy.ReqChangeLeagueNotice(_ui.m_txtContent.text);
|
|
|
if (result)
|
|
|
{
|