1234567891011121314151617181920212223242526272829303132 |
- const state = {
- isSmsLogin: true , // 隐藏短信登录
- isWeChatPay: true, // 隐藏微信支付
- }
- const mutations = {
-
- setIsSmsLogin( state,value){
- state.isSmsLogin = value
- }
- }
- const actions = {
- // // 设置权限
- // setPermissions({ commit }, permissions) {
- // commit('SET_PERMISSIONS', permissions)
- // }
- }
- const getters = {
- }
- export default {
- namespaced: true,
- state,
- mutations,
- actions,
- getters
- }
|