diff --git a/src/store/index.ts b/src/store/index.ts index 4117e8a..e7b4301 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -3,13 +3,12 @@ import { createStore } from "vuex"; const store = createStore({ state: { isLoading: false, - userNmae: "vue3.0开发H5模板" + userNmae: "" }, getters: { }, - mutations: { - + mutations: { changeIsLoading(state, val) { state.isLoading = val; },