修复发布优惠券日期选择器部分手机无法显示按钮卡顿等问题调整添加员工接口问题

This commit is contained in:
唐明明
2021-09-30 15:35:34 +08:00
parent 9591400bb9
commit b8cbd8d565
17 changed files with 55 additions and 29 deletions

View File

@@ -24,11 +24,11 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
const token = store.getters.getToken || uni.getStorageSync('token')
// 检查是否需要微信授权
if(store.getters.getCode === '' && to.name != 'wxAuth'){
next({
name: 'wxAuth'
})
}
// if(store.getters.getCode === '' && to.name != 'wxAuth'){
// next({
// name: 'wxAuth'
// })
// }
// 检查是否需要登录
if(to.auth && token === ''){
next({