Ver Fonte

流程新建还原

koul há 2 anos atrás
pai
commit
7fd099a962

+ 3 - 2
uas-office-web/wxuasapproval/src/pages/approval/ApprovalHome.jsx

@@ -209,6 +209,7 @@ class ApprovalHome extends Component {
           prerenderingSiblingsNumber={2}
           hidden={this.state.tabHidden}
         >
+          {this.getNewTab()}
           {this.getReceiveTab()}
           {this.getSendTab()}
         </TabBar>
@@ -789,13 +790,13 @@ class ApprovalHome extends Component {
       })
       let configs = response.configs
 
-      /*if (isObjEmpty(configs)) {
+      if (isObjEmpty(configs)) {
         message.warn('菜单数据为空')
       } else {
         saveNewState({
           newMenuList: configs,
         })()
-      }*/
+      }
     }).catch(error => {
       this.setState({
         isNewMenuLoading: false,