微信合规调整

This commit is contained in:
kron
2026-01-05 09:23:26 +08:00
parent 9f7523839d
commit fd026efc85
6 changed files with 11 additions and 12 deletions

View File

@@ -830,7 +830,6 @@ export const wxLogin = () => {
export const canEenter = (user, device, online, page = "") => {
const { miniProgram } = uni.getAccountInfoSync();
if (miniProgram.envVersion !== "release") return true;
if (!device.deviceId) {
uni.showToast({
title: "请先绑定设备",
@@ -838,6 +837,7 @@ export const canEenter = (user, device, online, page = "") => {
});
return false;
}
if (miniProgram.envVersion !== "release") return true;
if (!online) {
uni.showToast({
title: "智能弓未连接",