租房小程序前端代码
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.
 
 
 

24 lines
416 B

import { getConfig } from "@/common/api.js"
export default {
state: {
configList:[]
},
mutations: {
setUserInfo(state,obj){
state.configList = obj
},
// 初始化配置
initConfig(){
getConfig({}).then(response=>{
console.info(response)
// that.commit('setUserInfo',{userInfo:response.result.userInfo,token:response.result.token})
}).catch(error=>{
})
},
},
actions: {}
}