Commit 5ae22ba5 by 李伟康

修复登录过期类型

1 parent 1c6b94ec
...@@ -93,7 +93,8 @@ Page({ ...@@ -93,7 +93,8 @@ Page({
if (query) { if (query) {
let arr = query.split('&') let arr = query.split('&')
arr.map(e => { arr.map(e => {
const [key, val] = e.split('=') let [key, val] = e.split('=')
if (val == 'false' || val == 'true') val = JSON.parse(val)
Object.assign(events, { Object.assign(events, {
[key]: val [key]: val
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!