摘要: Vue.use(Vuex) const store = new Vuex.Store({ state: { "theme": "theme-red", }, mutations: { setTheme(state, theme) { state.theme = theme }, }, actions 阅读全文
posted @ 2024-08-21 16:44 羽鱼 阅读(22) 评论(0) 推荐(0) 编辑