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