We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c4c92 commit 1a54aa7Copy full SHA for 1a54aa7
miniprogram/packageChatTool/pages/activity_create/index.js
@@ -9,7 +9,7 @@ function checkTitle(str) {
9
for (let i = 0; i < str.length; i++) {
10
actualLength += /[\u4e00-\u9fa5]/.test(str[i]) ? 2 : 1
11
}
12
- if (actualLength === 0 || actualLength > 20) {
+ if (actualLength === 0 || actualLength > 30) {
13
return false
14
15
return regex.test(str)
@@ -195,7 +195,7 @@ Page({
195
196
if (!checkTitle(title)) {
197
wx.showToast({
198
- title: '标题只能为中英文数字,长度小于20',
+ title: '标题只能为中英文数字,长度小于30',
199
icon: 'none'
200
})
201
return
0 commit comments