Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the worker page name. (#9086)

songjianet 3 years ago
parent
commit
117963f7c8

+ 3 - 3
dolphinscheduler-ui-next/src/views/monitor/servers/worker/index.tsx

@@ -27,8 +27,8 @@ import type { Ref } from 'vue'
 import type { RowData } from 'naive-ui/es/data-table/src/interface'
 import type { WorkerNode } from '@/service/modules/monitor/types'
 
-const master = defineComponent({
-  name: 'master',
+const worker = defineComponent({
+  name: 'worker',
   setup() {
     const showModalRef = ref(false)
     const { t } = useI18n()
@@ -149,4 +149,4 @@ const master = defineComponent({
   }
 })
 
-export default master
+export default worker