feat(admin): 联动用户、预约、排班和部门统计的只读预览
This commit is contained in:
@@ -18,7 +18,7 @@ import classicLogo from './preview-mark.svg'
|
||||
import artLogo from './preview-mark-art.svg'
|
||||
const app = createApp(Root)
|
||||
app.use(store); app.use(ElementPlus); installIcons(app); app.directive('perms', perms)
|
||||
useUserStore().$patch({ token: '', userInfo: { name: '本地预览', role_ids: [] }, perms: ['order.order/lists','order.order/detail'], routes: pages.map(({ path, name, meta }) => ({ path, name, meta })) as any })
|
||||
useUserStore().$patch({ token: '', userInfo: { name: '本地预览', role_ids: [] }, perms: ['order.order/lists','order.order/detail','user.user/lists','user.user/detail'], routes: pages.map(({ path, name, meta }) => ({ path, name, meta })) as any })
|
||||
const appState = useAppStore(), settings = useSettingStore()
|
||||
appState.$patch({ configFetchAttempted: true, config: { web_name: '甄养堂' } })
|
||||
settings.$patch({ showLogo: true })
|
||||
|
||||
Reference in New Issue
Block a user