提交 accea8ee authored 作者: 钟是志's avatar 钟是志

重命名nameSpace

上级 5e75fe20
...@@ -150,7 +150,7 @@ export default class Countersign extends Component { ...@@ -150,7 +150,7 @@ export default class Countersign extends Component {
} = this.props; } = this.props;
await dispatch({ await dispatch({
type: 'uaa_User/fetch', type: 'uaa_User_OneStop/fetch',
payload: { payload: {
...params, ...params,
}, },
......
...@@ -77,7 +77,7 @@ export default class index extends Component { ...@@ -77,7 +77,7 @@ export default class index extends Component {
const { dispatch, value } = this.props; const { dispatch, value } = this.props;
// 用户名列表 // 用户名列表
await dispatch({ await dispatch({
type: 'uaa_User/fetch', type: 'uaa_User_OneStop/fetch',
payload: { payload: {
pageNo: 1, pageNo: 1,
pageSize: 5, pageSize: 5,
...@@ -111,7 +111,7 @@ export default class index extends Component { ...@@ -111,7 +111,7 @@ export default class index extends Component {
const { realname, username } = this.state; const { realname, username } = this.state;
// 用户名列表 // 用户名列表
dispatch({ dispatch({
type: 'uaa_User/fetch', type: 'uaa_User_OneStop/fetch',
payload: { payload: {
pageNo: value, pageNo: value,
pageSize: 5, pageSize: 5,
...@@ -135,7 +135,7 @@ export default class index extends Component { ...@@ -135,7 +135,7 @@ export default class index extends Component {
searchNameChange = value => { searchNameChange = value => {
const { dispatch } = this.props; const { dispatch } = this.props;
dispatch({ dispatch({
type: 'uaa_User/fetch', type: 'uaa_User_OneStop/fetch',
payload: { payload: {
pageNo: 1, pageNo: 1,
pageSize: 5, pageSize: 5,
...@@ -171,7 +171,7 @@ export default class index extends Component { ...@@ -171,7 +171,7 @@ export default class index extends Component {
username: value, username: value,
}); });
dispatch({ dispatch({
type: 'uaa_User/fetch', type: 'uaa_User_OneStop/fetch',
payload: { payload: {
pageNo: 1, pageNo: 1,
pageSize: 5, pageSize: 5,
......
import { permRequest } from '../utils/request'; import { permRequest } from '../utils/request';
export default { export default {
namespace: 'uaa_User', namespace: 'uaa_User_OneStop',
state: { state: {
data: { data: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论