From 770ab3edf04d44886f49a0093a36f789157e8b94 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Sat, 30 Jul 2022 14:27:31 +0800 Subject: [PATCH] =?UTF-8?q?(fix)=E5=B7=A1=E6=9F=A5=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=AD=97=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/src/packages/patrol/index.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index f491864d..abe505fc 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -171,6 +171,10 @@ const Index = () => { Taro.showToast({ title: '工程类型错误', icon: 'none' }) return } + if (content.length > 50) { + Taro.showToast({ title: '内容字数不能超过50', icon: 'none' }) + return + } const reportProjectType = prjType[prjTypeSelector.indexOf(projectType)].value let data = {