mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-08-20 12:29:46 +08:00
init:Vuex初始化
This commit is contained in:
parent
2150565c85
commit
d37553ff2c
@ -1,10 +1,8 @@
|
|||||||
import { createStore } from "vuex";
|
import { createStore } from "vuex";
|
||||||
|
|
||||||
const store = createStore({
|
const store = createStore({
|
||||||
state: {
|
state: {
|
||||||
|
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
|
|
||||||
userNmae: "vue3.0开发H5模板"
|
userNmae: "vue3.0开发H5模板"
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user