Commit 97b8ef41 by 陈超

T

parent aaf35298
...@@ -171,7 +171,21 @@ ...@@ -171,7 +171,21 @@
created:function(){ created:function(){
document.title = "会员信息" document.title = "会员信息"
let vipInfo = {:json_encode($vipInfo)}; let vipInfo = {:json_encode($vipInfo)};
console.log(vipInfo) let userInfo = {:json_encode($user)};
console.log(userInfo)
vipInfo.forEach( r => {
let opt = undefined
if(r.title == "乡试") {
opt = this.options[0]
} else if(r.title == "会试") {
opt = this.options[1]
} else if(r.title == "殿试") {
opt = this.options[2]
}
if(opt) {
opt.price = r.vip_month + "元/月"
}
})
}, },
computed: { computed: {
......
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