|
@@ -1,7 +1,7 @@
|
|
|
import React, { useCallback, useEffect, useRef, useState } from 'react'
|
|
|
import styles from './index.module.scss'
|
|
|
import { B1ListType } from '@/pages/B1panorama/data'
|
|
|
-import { Button, Form, FormInstance, Input, InputNumber, Modal, Select } from 'antd'
|
|
|
+import { Button, Form, FormInstance, InputNumber, Modal, Select } from 'antd'
|
|
|
import { MessageFu } from '@/utils/message'
|
|
|
import { B1_APIsave } from '@/store/action/B1panorama'
|
|
|
import { useDispatch, useSelector } from 'react-redux'
|
|
@@ -9,6 +9,7 @@ import { B4_APIgetDictList } from '@/store/action/B4video'
|
|
|
import { RootState } from '@/store'
|
|
|
import ZupOne from '@/components/ZupOne'
|
|
|
import MyPopconfirm from '@/components/MyPopconfirm'
|
|
|
+import TextArea from 'antd/es/input/TextArea'
|
|
|
|
|
|
type Props = {
|
|
|
info: B1ListType
|
|
@@ -128,7 +129,7 @@ function B4add({ info, closeFu, addTableFu, upTableFu }: Props) {
|
|
|
name='name'
|
|
|
rules={[{ required: true, message: '请输入标题' }]}
|
|
|
>
|
|
|
- <Input maxLength={20} showCount placeholder='请输入内容' />
|
|
|
+ <TextArea maxLength={300} showCount placeholder='请输入内容' />
|
|
|
</Form.Item>
|
|
|
|
|
|
<Form.Item label='板块' name='type' rules={[{ required: true, message: '请选择板块' }]}>
|