摘要: 一、 安装 npm install vuex@next --save 二、 基本使用 store.js import { createStore } from 'vuex' const store = createStore({ //用来保存数据 state() { return { count: 阅读全文
posted @ 2021-06-24 13:32 富坚老贼 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-24 10:03 富坚老贼 阅读(16) 评论(0) 推荐(0) 编辑