import { getConfig } from "@/common/api.js"
|
|
|
|
export default {
|
|
state: {
|
|
},
|
|
getters: {
|
|
|
|
},
|
|
mutations: {
|
|
|
|
// 初始化配置
|
|
initConfig(state){
|
|
getConfig({}).then(response=>{
|
|
uni.setStorageSync('configList', response.result)
|
|
}).catch(error=>{
|
|
|
|
})
|
|
},
|
|
},
|
|
|
|
actions: {}
|
|
}
|