From 720dcea6fbf53240469854ef4d9242451852dc36 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 22 Aug 2019 15:36:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20[doc]=20=E5=BC=80=E5=90=AFstore?= =?UTF-8?q?=E4=B8=A5=E6=A0=BC=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/src/store/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/src/store/index.ts b/doc/src/store/index.ts index 384e3e7..58fc8f2 100644 --- a/doc/src/store/index.ts +++ b/doc/src/store/index.ts @@ -6,11 +6,13 @@ import actions, { dispatch } from './actions' import mutations, { commit, getState } from './mutations' import getters from './getters' import state from './state' +import { isProduction } from 'src/envs' Vue.use(Vuex) export function createStore() { return new Vuex.Store({ + strict: !isProduction, state: state(), actions, mutations,