摘要: 先来了解一下官网:https://www.nuxtjs.cn/guide/vuex-store 一、首先在 store 文件下新建一个index.js文件 const state = () => ({ flag: false }) const mutations = { add(state, dat 阅读全文
posted @ 2021-09-28 09:43 IT小姐姐 阅读(568) 评论(0) 推荐(0)