Commit 78119d39 authored by wildfirecode13's avatar wildfirecode13

1

parent 56e88e64
...@@ -78,7 +78,6 @@ Page({ ...@@ -78,7 +78,6 @@ Page({
let { canBuyFloor } = this.data let { canBuyFloor } = this.data
// 判断会员等级 // 判断会员等级
// let { data: { isVip, grade, gradeName, gradeCredits } } = await API.getVipInfo() || {}; // let { data: { isVip, grade, gradeName, gradeCredits } } = await API.getVipInfo() || {};
API.getVipInfo().then(({ data: { grade } }) => { API.getVipInfo().then(({ data: { grade } }) => {
API.submit({ floor: canBuyFloor, grade: grade }).catch((res) => { API.submit({ floor: canBuyFloor, grade: grade }).catch((res) => {
console.log(res); console.log(res);
......
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