From 4fac8c13efe9d5abef0b4af80f4ab5a962f21272 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 26 Jun 2024 17:12:50 +0800 Subject: [PATCH] Revert "refactor: remove phone field for user form (#6139)" This reverts commit f09b685d2862d6d9e7fc74869d1f0cf7a4bad1fd. --- .../modules/system/users/components/UserCreationModal.vue | 8 ++++++++ .../modules/system/users/components/UserEditingModal.vue | 7 +++++++ .../modules/profile/components/ProfileEditingModal.vue | 8 ++++++++ 3 files changed, 23 insertions(+) diff --git a/ui/console-src/modules/system/users/components/UserCreationModal.vue b/ui/console-src/modules/system/users/components/UserCreationModal.vue index e4446d993c8..e08889e2770 100644 --- a/ui/console-src/modules/system/users/components/UserCreationModal.vue +++ b/ui/console-src/modules/system/users/components/UserCreationModal.vue @@ -28,6 +28,7 @@ const formState = ref({ email: "", name: "", password: "", + phone: "", roles: [], }); const selectedRole = ref(""); @@ -107,6 +108,13 @@ const handleCreateUser = async () => { name="email" validation="required|email|length:0,100" > + { name="email" validation="required|email|length:0,100" > + ( spec: { displayName: "", email: "", + phone: "", password: "", bio: "", disabled: false, @@ -139,6 +140,13 @@ async function onEmailVerifyModalClose() { +