Commit 51216e5a authored by XieZhiXiong's avatar XieZhiXiong

chore: 更改方法、变量名称

parent cc81759d
export interface IMemberModule { export interface IMemberModule {
memberMaintainInfo: any; memberInfo: any;
setmemberMaintainInfo(data: any): void; setMemberInfo(data: any): void;
} }
\ No newline at end of file
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:35
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-05-20 13:46:58
* @Description:
*/
import { action, observable} from 'mobx' import { action, observable} from 'mobx'
import { IMemberModule } from '@/module/memberModule'; import { IMemberModule } from '@/module/memberModule';
...@@ -6,11 +13,11 @@ import { IMemberModule } from '@/module/memberModule'; ...@@ -6,11 +13,11 @@ import { IMemberModule } from '@/module/memberModule';
*/ */
class MemberStore implements IMemberModule { class MemberStore implements IMemberModule {
@observable public memberMaintainInfo: any = {}; @observable public memberInfo: any = {};
@action.bound @action.bound
public setmemberMaintainInfo(data: any) { public setMemberInfo(data: any) {
this.memberMaintainInfo = data; this.memberInfo = data;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment