|
@ -6,9 +6,14 @@ const app = {
|
|
wxId: process.env.VUE_APP_WXID
|
|
wxId: process.env.VUE_APP_WXID
|
|
},
|
|
},
|
|
loading: false,
|
|
loading: false,
|
|
pageTitle: "智能药房"
|
|
|
|
|
|
pageTitle: "智能药房",
|
|
|
|
platform: 'web', //网页web
|
|
|
|
noTop: false
|
|
},
|
|
},
|
|
mutations: {
|
|
mutations: {
|
|
|
|
SET_NO_TOP: (state, bool) => {
|
|
|
|
state.noTop = bool
|
|
|
|
},
|
|
SET_LOADING: (state, bool) => {
|
|
SET_LOADING: (state, bool) => {
|
|
state.loading = bool
|
|
state.loading = bool
|
|
},
|
|
},
|
|
@ -17,6 +22,9 @@ const app = {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
actions: {
|
|
actions: {
|
|
|
|
SetNoTop({ commit, state }, bool) {
|
|
|
|
commit('SET_NO_TOP', bool)
|
|
|
|
},
|
|
SetLoading({ commit, state }, bool) {
|
|
SetLoading({ commit, state }, bool) {
|
|
commit('SET_LOADING', bool)
|
|
commit('SET_LOADING', bool)
|
|
},
|
|
},
|