Commit be35ecf5 authored by jyx's avatar jyx

代码优化

parent d324ce2d
......@@ -75,17 +75,14 @@
methods: {
isVipStatus() {
if (this.sourceType == 'android' && this.localToken) {
let that = this;
this.post({
url: '/user/baseMsg',
url: '/vip/getVipProducts/cyc/forVApp',
showLoading: false,
success: ({
data
}) => {
if (data.expireTime > 0) {
this.isVip = true
} else {
this.isVip = false
}
that.isVip = data.vip
}
});
}
......@@ -152,7 +149,6 @@
fail: function(err) {}
});
},
handlePay() {
let that = this;
this.post({
......
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