浏览代码

fix: link校验

wzyyy 3 年之前
父节点
当前提交
24b7cde8bf
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/pages/notice/Template/Detail/index.tsx

+ 6 - 6
src/pages/notice/Template/Detail/index.tsx

@@ -938,13 +938,13 @@ const Detail = observer(() => {
                         'x-decorator': 'FormItem',
                         'x-component-props': {
                           placeholder: '请输入标题',
-                          'x-validator': [
-                            {
-                              max: 64,
-                              message: '最多可输入64个字符',
-                            },
-                          ],
                         },
+                        'x-validator': [
+                          {
+                            max: 64,
+                            message: '最多可输入64个字符',
+                          },
+                        ],
                       },
                       '{url:picUrl}': {
                         title: '图片链接',