工厂信息
This commit is contained in:
19
src/store/modules/companyImg.js
Normal file
19
src/store/modules/companyImg.js
Normal file
@@ -0,0 +1,19 @@
|
||||
const state = {
|
||||
companyImg:localStorage.getItem("logo"),
|
||||
isLogo:false
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
SET_LOGO(state,img){
|
||||
state.companyImg = img
|
||||
},
|
||||
SET_IS_LOGO(state,isLogo) {
|
||||
state.isLogo = isLogo;
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
mutations,
|
||||
}
|
||||
Reference in New Issue
Block a user