后台管理系统配置了登录注册合并,正常的逻辑是,没有注册的邮箱也可以获取验证码,但是现在的逻辑是未注册的获取验证码会提示搜索不到邮箱。
示例代码:
<Guard :appId=“appId” @login=“onLogin”>
<script>
import { Guard } from "@authing/vue-ui-components";
// 引入 CSS 样式
import "@authing/vue-ui-components/lib/index.min.css";
export default {
components: {
Guard,
},
data: () => ({
// 替换你的 AppId
appId: "your_appId_at_authing_console",
}),
methods: {
onLogin(userInfo) {
console.log(userInfo);
},
},
};
</script>