瀏覽代碼

:twisted_rightwards_arrows: Merge branch 'master' into channel

zhanghe 6 年之前
父節點
當前提交
93b05f60d5
共有 1 個文件被更改,包括 2 次插入2 次删除
  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',
         }));
       }