From 02eff90568cc5e15a9ed31b0c4f7fadd2664e84e Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Thu, 7 Jul 2022 09:58:53 +0800 Subject: [PATCH] [Refactor][UI] Refactor user manage using NSpace component. (#10816) --- .../src/views/security/user-manage/index.tsx | 87 +++++++++---------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/dolphinscheduler-ui/src/views/security/user-manage/index.tsx b/dolphinscheduler-ui/src/views/security/user-manage/index.tsx index 8d912e3dfe..7dd3720045 100644 --- a/dolphinscheduler-ui/src/views/security/user-manage/index.tsx +++ b/dolphinscheduler-ui/src/views/security/user-manage/index.tsx @@ -22,9 +22,9 @@ import { NIcon, NSpace, NDataTable, - NPagination + NPagination, + NCard } from 'naive-ui' -import Card from '@/components/card' import UserDetailModal from './components/user-detail-modal' import AuthorizeModal from './components/authorize-modal' import { useI18n } from 'vue-i18n' @@ -65,51 +65,50 @@ const UsersManage = defineComponent({ }, render() { return ( - <> - - - - - {this.t('security.user.create_user')} + + + + + {this.t('security.user.create_user')} + + + + + + + - - - - - - - - - - - - + + + + + + - - - - - + + - + ) } })