Explorar o código

fix: #9649 菜单管理 按钮管理 修复说明字段限制

jackhoo_98 %!s(int64=3) %!d(string=hai) anos
pai
achega
32ea743708
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      src/pages/system/Menu/Detail/buttons.tsx

+ 6 - 1
src/pages/system/Menu/Detail/buttons.tsx

@@ -369,7 +369,12 @@ export default (props: ButtonsProps) => {
                 defaultMessage: '说明',
               })}
             >
-              <Input.TextArea disabled={disabled} placeholder={'请输入说明'} />
+              <Input.TextArea
+                disabled={disabled}
+                placeholder={'请输入说明'}
+                maxLength={200}
+                showCount={true}
+              />
             </Form.Item>
           </Form>
         </Modal>