This commit is contained in:
2025-06-13 11:25:24 +08:00
parent 85d4d412ba
commit 3929c639e5
9 changed files with 121 additions and 20 deletions

View File

@@ -6,6 +6,7 @@ import {ref} from "vue";
import AccountLogin from "./AccountLogin.vue";
import PhoneLogin from "./PhoneLogin.vue";
import WXOfficialAccount from "../../components/WXOfficialAccount.vue";
import {onLoad} from "@dcloudio/uni-app";
const currentTab = ref(0);
const showWX = ref(false);
@@ -17,6 +18,11 @@ const tabs = [
name: '账号密码登录',
},
];
onLoad((options) => {
const {showWX: _showWX} = options;
showWX.value = _showWX === '1';
});
</script>
<template>