|
|
@@ -11,7 +11,7 @@
|
|
|
微信一键登录
|
|
|
</button>
|
|
|
</view>
|
|
|
- <view @click="ceshi" class="auth-tips">欢迎使用小程序12312312312312</view>
|
|
|
+ <!-- <view @click="ceshi" class="auth-tips">欢迎使用小程序12312312312312</view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -86,17 +86,17 @@
|
|
|
getAllImg();
|
|
|
})
|
|
|
|
|
|
- function ceshi() {
|
|
|
- httpApi.loginApplet({
|
|
|
- code: '123',
|
|
|
- }).then(result => {
|
|
|
- console.log('result', result);
|
|
|
- openId.value = result.data.openId
|
|
|
- cacheManager.set('auth', result.data.loginVo)
|
|
|
- store.setIsCanBack(false)
|
|
|
- gotoPage();
|
|
|
- })
|
|
|
- }
|
|
|
+ // function ceshi() {
|
|
|
+ // httpApi.loginApplet({
|
|
|
+ // code: '123',
|
|
|
+ // }).then(result => {
|
|
|
+ // console.log('result', result);
|
|
|
+ // openId.value = result.data.openId
|
|
|
+ // cacheManager.set('auth', result.data.loginVo)
|
|
|
+ // store.setIsCanBack(false)
|
|
|
+ // gotoPage();
|
|
|
+ // })
|
|
|
+ // }
|
|
|
// 微信授权登录
|
|
|
function onWechatAuth(e) {
|
|
|
if (e.detail.errMsg.includes('fail')) {
|