Commit 391627e1 by 匡雅琴

判断蒙版授权显示

1 parent 6fdd6de3
...@@ -92,9 +92,9 @@ Page({ ...@@ -92,9 +92,9 @@ Page({
.then(({ data }) => { .then(({ data }) => {
wx.hideLoading() wx.hideLoading()
console.log(data); console.log(data);
if (data) { if (!data) {
this.setData({ this.setData({
hasUserInfo: true, hasUserInfo: false,
}); });
} }
if (data.phone) { if (data.phone) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!