perf: refine user detail page

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/588/head
Ryan Wang 2 years ago
parent ce03f4c923
commit 38266d721a

@ -60,7 +60,9 @@ const router = useRouter();
class="bg-white px-4 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4 sm:px-6" class="bg-white px-4 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4 sm:px-6"
> >
<dt class="text-sm font-medium text-gray-900">两步验证</dt> <dt class="text-sm font-medium text-gray-900">两步验证</dt>
<dd class="mt-1 text-sm text-gray-900 sm:col-span-3 sm:mt-0">已启用</dd> <dd class="mt-1 text-sm text-gray-900 sm:col-span-3 sm:mt-0">
{{ user?.spec.twoFactorAuthEnabled ? "开启" : "关闭" }}
</dd>
</div> </div>
<div <div
class="bg-white px-4 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4 sm:px-6" class="bg-white px-4 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4 sm:px-6"

Loading…
Cancel
Save