Browse Source

[Refactor][UI] Refactor cluster manage using NSpace component. (#10701)

* [Refactor][UI] Refactor cluster manage using NSpace component.

* [Refactor][UI] Refactor token manage using NSpace component.
3.1.0-release
songjianet 2 years ago committed by GitHub
parent
commit
491d5001fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-ui/src/views/security/cluster-manage/index.tsx

7
dolphinscheduler-ui/src/views/security/cluster-manage/index.tsx

@ -28,7 +28,6 @@ import {
import { SearchOutlined } from '@vicons/antd' import { SearchOutlined } from '@vicons/antd'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { useTable } from './use-table' import { useTable } from './use-table'
import Card from '@/components/card'
import ClusterModal from './components/cluster-modal' import ClusterModal from './components/cluster-modal'
const clusterManage = defineComponent({ const clusterManage = defineComponent({
@ -103,7 +102,7 @@ const clusterManage = defineComponent({
return ( return (
<NSpace vertical> <NSpace vertical>
<NCard> <NCard size='small'>
<NSpace justify='space-between'> <NSpace justify='space-between'>
<NButton <NButton
size='small' size='small'
@ -132,7 +131,7 @@ const clusterManage = defineComponent({
</NSpace> </NSpace>
</NSpace> </NSpace>
</NCard> </NCard>
<Card> <NCard size='small'>
<NSpace vertical> <NSpace vertical>
<NDataTable <NDataTable
loading={loadingRef} loading={loadingRef}
@ -154,7 +153,7 @@ const clusterManage = defineComponent({
/> />
</NSpace> </NSpace>
</NSpace> </NSpace>
</Card> </NCard>
<ClusterModal <ClusterModal
showModalRef={this.showModalRef} showModalRef={this.showModalRef}
statusRef={this.statusRef} statusRef={this.statusRef}

Loading…
Cancel
Save