Skip to content

Commit 354efd8

Browse files
committed
fix: 修复在头条小程序中无法获取用户信息的问题
1 parent 50e719e commit 354efd8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pages/API/get-user-info/get-user-info.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
</block>
1717
</view>
1818
<view class="uni-btn-v">
19-
<!-- #ifdef APP-PLUS || MP-ALIPAY -->
19+
<!-- #ifdef APP-PLUS || MP-ALIPAY || MP-TOUTIAO -->
2020
<button type="primary" @click="getUserInfo">获取用户信息</button>
2121
<!-- #endif -->
22-
<!-- #ifdef MP-WEIXIN || MP-BAIDU || MP-TOUTIAO -->
22+
<!-- #ifdef MP-WEIXIN || MP-BAIDU -->
2323
<button type="primary" open-type="getUserInfo" @getuserinfo="mpGetUserInfo">获取用户信息</button>
2424
<!-- #endif -->
2525
<button @click="clear">清空</button>

0 commit comments

Comments
 (0)