Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fixed a problem where safari ICONS are not displayed (#8662)

3.0.0/version-upgrade
labbomb 3 years ago committed by GitHub
parent
commit
2f21c89b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts
  2. 8
      dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts
  3. 6
      dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts
  4. 6
      dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts
  5. 6
      dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts
  6. 6
      dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts
  7. 6
      dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts
  8. 6
      dolphinscheduler-ui-next/src/views/security/worker-group-manage/use-table.ts
  9. 4
      dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/use-table.ts

10
dolphinscheduler-ui-next/src/views/projects/task/definition/use-table.ts

@ -17,7 +17,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { NButton, NPopconfirm, NSpace, NTag, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTag, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { import {
DeleteOutlined, DeleteOutlined,
@ -143,7 +143,7 @@ export function useTable(onEdit: Function) {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('project.task.edit') default: () => t('project.task.edit')
@ -169,7 +169,7 @@ export function useTable(onEdit: Function) {
} }
}, },
{ {
icon: () => h(DragOutlined) icon: () => h(NIcon, null, { default: () => h(DragOutlined) })
} }
), ),
default: () => t('project.task.move') default: () => t('project.task.move')
@ -192,7 +192,7 @@ export function useTable(onEdit: Function) {
} }
}, },
{ {
icon: () => h(ExclamationCircleOutlined) icon: () => h(NIcon, null, { default: () => h(ExclamationCircleOutlined) })
} }
), ),
default: () => t('project.task.version') default: () => t('project.task.version')
@ -223,7 +223,7 @@ export function useTable(onEdit: Function) {
row.processReleaseState === 'ONLINE' row.processReleaseState === 'ONLINE'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('project.task.delete') default: () => t('project.task.delete')

8
dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts

@ -23,7 +23,7 @@ import {
forceSuccess, forceSuccess,
downloadLog downloadLog
} from '@/service/modules/task-instances' } from '@/service/modules/task-instances'
import { NButton, NSpace, NTooltip } from 'naive-ui' import { NButton, NIcon, NSpace, NTooltip } from 'naive-ui'
import { import {
AlignLeftOutlined, AlignLeftOutlined,
CheckCircleOutlined, CheckCircleOutlined,
@ -145,7 +145,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(CheckCircleOutlined) icon: () => h(NIcon, null, { default: () => h(CheckCircleOutlined) })
} }
), ),
default: () => t('project.task.serial_wait') default: () => t('project.task.serial_wait')
@ -165,7 +165,7 @@ export function useTable() {
onClick: () => handleLog(row) onClick: () => handleLog(row)
}, },
{ {
icon: () => h(AlignLeftOutlined) icon: () => h(NIcon, null, { default: () => h(AlignLeftOutlined) })
} }
), ),
default: () => t('project.task.view_log') default: () => t('project.task.view_log')
@ -185,7 +185,7 @@ export function useTable() {
onClick: () => downloadLog(row.id) onClick: () => downloadLog(row.id)
}, },
{ {
icon: () => h(DownloadOutlined) icon: () => h(NIcon, null, { default: () => h(DownloadOutlined) })
} }
), ),
default: () => t('project.task.download_log') default: () => t('project.task.download_log')

6
dolphinscheduler-ui-next/src/views/security/alarm-group-manage/use-table.ts

@ -18,7 +18,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { parseISO, format } from 'date-fns' import { parseISO, format } from 'date-fns'
import { NButton, NPopconfirm, NSpace, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { import {
queryAlertGroupListPaging, queryAlertGroupListPaging,
@ -81,7 +81,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.alarm_group.edit') default: () => t('security.alarm_group.edit')
@ -109,7 +109,7 @@ export function useTable() {
size: 'small' size: 'small'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.alarm_group.delete') default: () => t('security.alarm_group.delete')

6
dolphinscheduler-ui-next/src/views/security/environment-manage/use-table.ts

@ -18,7 +18,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { parseISO, format } from 'date-fns' import { parseISO, format } from 'date-fns'
import { NButton, NPopconfirm, NSpace, NTooltip, NTag } from 'naive-ui' import { NButton, NPopconfirm, NSpace, NTooltip, NTag, NIcon } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { import {
queryEnvironmentListPaging, queryEnvironmentListPaging,
@ -105,7 +105,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.environment.edit') default: () => t('security.environment.edit')
@ -134,7 +134,7 @@ export function useTable() {
class: 'delete' class: 'delete'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.environment.delete') default: () => t('security.environment.delete')

6
dolphinscheduler-ui-next/src/views/security/k8s-namespace-manage/use-table.ts

@ -17,7 +17,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { NButton, NPopconfirm, NSpace, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { parseISO, format } from 'date-fns' import { parseISO, format } from 'date-fns'
import { DeleteOutlined, EditOutlined } from '@vicons/antd' import { DeleteOutlined, EditOutlined } from '@vicons/antd'
@ -113,7 +113,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.k8s_namespace.edit') default: () => t('security.k8s_namespace.edit')
@ -141,7 +141,7 @@ export function useTable() {
size: 'small' size: 'small'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.k8s_namespace.delete') default: () => t('security.k8s_namespace.delete')

6
dolphinscheduler-ui-next/src/views/security/tenant-manage/use-table.ts

@ -21,7 +21,7 @@ import {
deleteTenantById deleteTenantById
} from '@/service/modules/tenants' } from '@/service/modules/tenants'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { NButton, NPopconfirm, NSpace, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { DeleteOutlined, EditOutlined } from '@vicons/antd' import { DeleteOutlined, EditOutlined } from '@vicons/antd'
@ -98,7 +98,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.tenant.edit') default: () => t('security.tenant.edit')
@ -127,7 +127,7 @@ export function useTable() {
class: 'delete' class: 'delete'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.tenant.delete') default: () => t('security.tenant.delete')

6
dolphinscheduler-ui-next/src/views/security/token-manage/use-table.ts

@ -18,7 +18,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { parseISO, format } from 'date-fns' import { parseISO, format } from 'date-fns'
import { NButton, NPopconfirm, NSpace, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { import {
queryAlertGroupListPaging, queryAlertGroupListPaging,
@ -90,7 +90,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.token.edit') default: () => t('security.token.edit')
@ -119,7 +119,7 @@ export function useTable() {
class: 'delete' class: 'delete'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.token.delete') default: () => t('security.token.delete')

6
dolphinscheduler-ui-next/src/views/security/worker-group-manage/use-table.ts

@ -17,7 +17,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { NButton, NPopconfirm, NSpace, NTag, NTooltip } from 'naive-ui' import { NButton, NIcon, NPopconfirm, NSpace, NTag, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { DeleteOutlined, EditOutlined } from '@vicons/antd' import { DeleteOutlined, EditOutlined } from '@vicons/antd'
import { import {
@ -102,7 +102,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.worker_group.edit') default: () => t('security.worker_group.edit')
@ -131,7 +131,7 @@ export function useTable() {
class: 'delete' class: 'delete'
}, },
{ {
icon: () => h(DeleteOutlined) icon: () => h(NIcon, null, { default: () => h(DeleteOutlined) })
} }
), ),
default: () => t('security.worker_group.delete') default: () => t('security.worker_group.delete')

4
dolphinscheduler-ui-next/src/views/security/yarn-queue-manage/use-table.ts

@ -17,7 +17,7 @@
import { useAsyncState } from '@vueuse/core' import { useAsyncState } from '@vueuse/core'
import { reactive, h, ref } from 'vue' import { reactive, h, ref } from 'vue'
import { NButton, NTooltip } from 'naive-ui' import { NButton, NIcon, NTooltip } from 'naive-ui'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { queryQueueListPaging } from '@/service/modules/queues' import { queryQueueListPaging } from '@/service/modules/queues'
import { EditOutlined } from '@vicons/antd' import { EditOutlined } from '@vicons/antd'
@ -77,7 +77,7 @@ export function useTable() {
} }
}, },
{ {
icon: () => h(EditOutlined) icon: () => h(NIcon, null, { default: () => h(EditOutlined) })
} }
), ),
default: () => t('security.yarn_queue.edit') default: () => t('security.yarn_queue.edit')

Loading…
Cancel
Save