增加造数的页面

This commit is contained in:
qiaoxinjiu
2026-04-13 16:42:02 +08:00
commit 3c7f075544
48 changed files with 25781 additions and 0 deletions

21
src/vuex/store.js Normal file
View File

@@ -0,0 +1,21 @@
import vuex from 'vuex'
import vue from 'vue'
vue.use(vuex)
const state={
userRole:null
}
const mutations={
SetRole(state,val){
state.userRole=val
}
}
export default new vuex.Store({
state,
mutations
})