Skip to content

Commit 1a54aa7

Browse files
author
sanfordsun
committed
fix: notifyGroupMember title length
1 parent c8c4c92 commit 1a54aa7

File tree

1 file changed

+2
-2
lines changed
  • miniprogram/packageChatTool/pages/activity_create

1 file changed

+2
-2
lines changed

miniprogram/packageChatTool/pages/activity_create/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function checkTitle(str) {
99
for (let i = 0; i < str.length; i++) {
1010
actualLength += /[\u4e00-\u9fa5]/.test(str[i]) ? 2 : 1
1111
}
12-
if (actualLength === 0 || actualLength > 20) {
12+
if (actualLength === 0 || actualLength > 30) {
1313
return false
1414
}
1515
return regex.test(str)
@@ -195,7 +195,7 @@ Page({
195195

196196
if (!checkTitle(title)) {
197197
wx.showToast({
198-
title: '标题只能为中英文数字,长度小于20',
198+
title: '标题只能为中英文数字,长度小于30',
199199
icon: 'none'
200200
})
201201
return

0 commit comments

Comments
 (0)