Przeglądaj źródła

adde component will mount

ryuichi-e 5 lat temu
rodzic
commit
76f409aafe

+ 4 - 0
src/client/js/components/Admin/Security/ShareLinkSetting.jsx

@@ -22,6 +22,10 @@ class ShareLinkSetting extends React.Component {
     this.deleteLinkById = this.deleteLinkById.bind(this);
     this.deleteLinkById = this.deleteLinkById.bind(this);
   }
   }
 
 
+  componentWillMount() {
+    this.handlePage(1);
+  }
+
 
 
   async deleteLinkById() {
   async deleteLinkById() {
     const { t, adminGeneralSecurityContainer } = this.props;
     const { t, adminGeneralSecurityContainer } = this.props;