调试极光推送

This commit is contained in:
THK3121 2023-07-01 15:51:17 +08:00
parent 5eb134ca7d
commit 8fb080363b

View File

@ -232,7 +232,8 @@
</view> </view>
</form> </form>
<view class="copyright" @click="goCopyUrl"> <view class="copyright" @click="goCopyUrl">
{{ copyright.status == -1 ? `${copyright.year} ${copyright.url}` : copyright.Copyright }}</view> {{ copyright.status == -1 ? `${copyright.year} ${copyright.url}` : copyright.Copyright }}
</view>
<Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }" <Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }"
ref="verify"></Verify> ref="verify"></Verify>
@ -696,8 +697,8 @@
}); });
that.$store.commit("SETUID", data.user.uid); that.$store.commit("SETUID", data.user.uid);
that.$store.commit('UPDATE_USERINFO', data.user); that.$store.commit('UPDATE_USERINFO', data.user);
let method let method
let indexPat = ['/pages/index/index', '/pages/order_addcart/order_addcart', let indexPat = ['/pages/index/index', '/pages/order_addcart/order_addcart',
'/pages/goods_cate/goods_cate', '/pages/goods_cate/goods_cate',
@ -937,6 +938,7 @@
} }
}) })
} }
// #ifdef APP-PLUS
jpushModule.initJPushService() jpushModule.initJPushService()
jpushModule.getRegistrationID(result => { jpushModule.getRegistrationID(result => {
if (result.registerID) { if (result.registerID) {
@ -946,6 +948,8 @@
}) })
} }
}) })
// #endif
} }
} }
}; };
@ -972,6 +976,7 @@
} }
.ChangePassword .list .item { .ChangePassword .list .item {
width: 100%; width: 100%;
height: 110rpx; height: 110rpx;
border-bottom: 2rpx solid #f0f0f0; border-bottom: 2rpx solid #f0f0f0;