This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
hly
/
Jingde-town-wechat-uniapp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
上传
master
前端-胡立永
10 months ago
parent
89f6842880
commit
70e9f7c647
1 changed files
with
1 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-5
store/store.js
+ 1
- 5
store/store.js
View File
@ -9,13 +9,9 @@ import api from '@/api/api.js'
const
store
=
new
Vuex
.
Store
(
{
state
:
{
configList
:
[
]
,
//配置列表
shop
:
false
image
:
'https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img'
,
}
,
getters
:
{
// 角色 true为水洗店 false为酒店
userShop
(
state
)
{
return
state
.
shop
}
}
,
mutations
:
{
// 初始化配置
Write
Preview
Loading…
Cancel
Save