制作登录
This commit is contained in:
@ -8,7 +8,9 @@ import { BACK_URL } from '@/config/cachekey'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
primaryColor: '#FF2C3C'
|
||||
primaryColor: '#FF2C3C',
|
||||
cloudPath: 'http://jianbing-media.stnav.com/frontend/',
|
||||
themeColor: '#254062'
|
||||
}
|
||||
},
|
||||
async onLoad(option) {
|
||||
@ -16,6 +18,7 @@ export default {
|
||||
const route = currentPage().route
|
||||
// 记录登录后要返回的路径
|
||||
if (!acountList.includes(route) && !this.isLogin) {
|
||||
|
||||
// if (!acountList.includes(route)) {
|
||||
Cache.set(BACK_URL, `/${route}${paramsToStr(option)}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user