Luolei 6 năm trước cách đây
mục cha
commit
9df9db39bf
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/components/MainSuit/index.jsx

+ 1 - 3
src/components/MainSuit/index.jsx

@@ -9,7 +9,6 @@ import {isIE,getPageCoordinate,windowEventHandler,filterDataArr,getAllDataList,g
 import $ from 'jquery';
 import store from '@store';
 import {getFeature} from '@store/async-actions/fetchModules';
-let num = 1;
 
 class MainSuit extends Component{
   constructor(props){
@@ -272,8 +271,7 @@ class MainSuit extends Component{
     const searchFlag = searchData.length>0 ? true : false;
     const boxTop1 = datas.length>0?boxTop:45;
     const boxLeft1 = datas.length>0?boxLeft:85;
-    if(+type===1&&num===1){      //文本模式
-      ++num
+    if(+type===1){      //文本模式
       return <Textarea title='主诉' boxMark='1' isRead={isRead} value={saveText[0]} handlePush={fetchPushInfos} handleInput={handleInput} />;
     }
     return  <div className={style['main-suit']}>