You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhishifufei_php/public/pc/store/index.js

25 lines
673 B

define([
'require',
], function(require) {
return {
debug: true,
state: {
loginVisible: false,
agreeVisible: false,
accountVisible: false,
isAccount: true,
},
setLoginAction: function (newValue) {
this.state.loginVisible = newValue;
},
setAgreeAction: function (newValue) {
this.state.agreeVisible = newValue;
},
setAccountAction: function (newValue) {
this.state.accountVisible = newValue;
},
setIsAccountAction: function (newValue) {
this.state.isAccount = newValue;
}
};
});