Sfoglia il codice sorgente

:twisted_rightwards_arrows: Merge branch 'master' into channel

zhanghe 6 anni fa
parent
commit
93b05f60d5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/models/tag.js

+ 2 - 2
src/models/tag.js

@@ -45,12 +45,12 @@ export default {
         });
       }
     },
-    *createTagItem({ payload, state }, { call, put }) {
+    *createTagItem({ payload, states }, { call, put }) {
       const response = yield call(createTagItem, payload);
       if (response.success) {
         message.success('创建标签成功');
         yield put(routerRedux.push({
-          state,
+          state: states,
           pathname: '/frontend/tag',
         }));
       }