update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user