Commit 391627e1 by 匡雅琴

判断蒙版授权显示

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