project init

This commit is contained in:
zxy
2024-02-02 10:24:54 +08:00
commit 21a84c3035
253 changed files with 25212 additions and 0 deletions

32
store/models/face.js Normal file
View File

@@ -0,0 +1,32 @@
import {
getStore,
setStore
} from '@/untils/store.js'
export default {
state: {
homeNavShow: getStore({
name: 'homeNavShow'
}) !== false,
homeTitle: getStore({
name: 'homeTitle'
}) || '德阳市智慧就业服务平台'
},
actions: {},
mutations: {
SET_HOME_TITLE: (state, status) => {
state.homeTitle = status
setStore({
name: 'homeTitle',
content: state.homeTitle
})
},
SET_HOME_NAV_SHOW: (state, status) => {
state.homeNavShow = status
setStore({
name: 'homeNavShow',
content: state.homeNavShow
})
},
}
}