From b76db3bca04c5694ba646fa87a2d6e8d09587a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 15 Mar 2023 10:36:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/store/index.js b/store/index.js index 6c86d2d..5024864 100644 --- a/store/index.js +++ b/store/index.js @@ -7,7 +7,6 @@ Vue.use(Vuex) const store = new Vuex.Store({ state: { //公共的变量,这里的变量不能随便修改,只能通过触发mutations的方法才能改变 - name: '111', }, mutations: { //相当于同步的操作 @@ -35,7 +34,6 @@ const store = new Vuex.Store({ success(res) {}, fail(err) {}, complete(scc) { - console.log(scc) } }) }