diff --git a/src/military/expert.js b/src/military/expert.js index a00e6a5f..c338755d 100644 --- a/src/military/expert.js +++ b/src/military/expert.js @@ -42,8 +42,7 @@ const Expert = (propsTransmit) => { }) }, []); let propsF = { ...propsTransmit }; - propsF.current_user = currentUser; - console.log(currentUser); + propsF.current_user = {...propsF.current_user,...currentUser}; return (
diff --git a/src/military/expert/components/wordsInput.jsx b/src/military/expert/components/wordsInput.jsx index 38732b26..af7db5a9 100644 --- a/src/military/expert/components/wordsInput.jsx +++ b/src/military/expert/components/wordsInput.jsx @@ -3,12 +3,12 @@ import { Input } from 'antd'; const { TextArea } = Input; -//右下角 实时动态 显示用户输入字数 +//右下角 实时动态 显示用户输入字数 const WordsInput = forwardRef((props, _ref) => { const [wordCount, setWordCount] = useState(0); return(
-