摘要: Vuex:保存全局数据 state store.js export new Vuex.Store({ modules: { user: { namespaced: true, state: { count: 1 }, } } }) main.js import store from './store 阅读全文
posted @ 2022-02-09 20:26 fight139 阅读(23) 评论(0) 推荐(0) 编辑