Commit 71f25dcf authored by Damon's avatar Damon

fix: 体验资格字段类型转换

parent 1b876c3b
...@@ -215,7 +215,7 @@ export default { ...@@ -215,7 +215,7 @@ export default {
} }
}, },
onLoad(e) { onLoad(e) {
if (e?.experience) this.experience = Boolean(e.experience) // 体验资格 if (e?.experience) this.experience = JSON.parse(e.experience) // 体验资格
if (e?.daily) this.daily.status = true // 每日一练 if (e?.daily) this.daily.status = true // 每日一练
if (e?.dailyCount) this.daily.count = parseInt(e.dailyCount) // 打卡天数 if (e?.dailyCount) this.daily.count = parseInt(e.dailyCount) // 打卡天数
if (e?.source) this.source = parseInt(e.source) // 来源 if (e?.source) this.source = parseInt(e.source) // 来源
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment