Azure AD B2C 是一项非常酷的功能,提供注册/登录功能。不过,我不知道如何具体自定义自定义用户流程部分中的注册页面。使用此链接https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-ui-customization我通过对 Azure 注入到 id 的 div 中的内容进行样式化来自定义登录页面api。在该默认页面上,它还有一个don't have an account? Sign up 'here'. 不过,我没有看到可以为注册页面添加资源的地方。除了我如何自定义登录之外,有谁知道如何具体自定义注册页面?
顺便说一句,我正在使用 Netlify 托管登录页面。我没有使用他们在我引用的链接中使用的 blob 存储。任何帮助都会很棒!谢谢你!
简单地说,我有一个组件
<Device>
v-for="device in devices"
:key="device.name"
:device="device"
:name="device.name"
:number="device.number"
:type="device.type"
:status="device.status"
:plan="device.plan"
:plan_price="device.plan_price"
:health="device.health"
</Device>
Run Code Online (Sandbox Code Playgroud)
然后我在组件的 props 部分定义它们
props: {
type: { type: String, default: "" },
number: { type: String, default: "" },
name: { type: String, default: ""},
plan: { type: String, default: "" },
plan_price: { type: String, default: "" },
status: { type: Number, default: 0 },
health: { type: Number, default: 0 },
},
Run Code Online (Sandbox Code Playgroud)
我只是想知道是否有一种方法可以传入 :device="device" 而不必传入每个单独的属性。我还想避免在组件内的模板中使用 device.name device.property 感谢您的任何提示!