edit(row.id!)}>
+
+ edit(row.id!)}>
{$t('common.edit')}
{hasAuth('R_ADMIN') ? (
- handleDelete(row.id!)}>
- {{
- default: () => $t('common.confirmDelete'),
- trigger: () => (
-
- {$t('common.delete')}
-
- )
- }}
-
+ <>
+
+ handleDelete(row.id!)}>
+ {{
+ default: () => $t('common.confirmDelete'),
+ trigger: () => (
+
+ {$t('common.delete')}
+
+ )
+ }}
+
+ >
) : (
''
)}
diff --git a/src/views/namespace/index.vue b/src/views/namespace/index.vue
index cdb2740..3124484 100644
--- a/src/views/namespace/index.vue
+++ b/src/views/namespace/index.vue
@@ -54,7 +54,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
width: 64,
render: row => (
- edit(row.id!)}>
+ edit(row.id!)}>
{$t('common.edit')}
diff --git a/src/views/notify/scene/index.vue b/src/views/notify/scene/index.vue
index d810606..24bba11 100644
--- a/src/views/notify/scene/index.vue
+++ b/src/views/notify/scene/index.vue
@@ -153,22 +153,28 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
title: $t('common.operate'),
align: 'center',
width: 130,
+ fixed: 'right',
render: row => (
- edit(row.id!)}>
+ edit(row.id!)}>
{$t('common.edit')}
{hasAuth('R_ADMIN') ? (
- handleDelete(row.id!)}>
- {{
- default: () => $t('common.confirmDelete'),
- trigger: () => (
-
- {$t('common.delete')}
-
- )
- }}
-
+ <>
+
+ handleDelete(row.id!)}>
+ {{
+ default: () => $t('common.confirmDelete'),
+ trigger: () => (
+
+
+ {$t('common.delete')}
+
+
+ )
+ }}
+
+ >
) : (
''
)}
diff --git a/src/views/workflow/task/index.vue b/src/views/workflow/task/index.vue
index 59ad1f9..580b0b5 100644
--- a/src/views/workflow/task/index.vue
+++ b/src/views/workflow/task/index.vue
@@ -164,7 +164,6 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
edit(row.id!)}>
{$t('common.edit')}
-
{hasAuth('R_ADMIN') ? (
<>
@@ -179,7 +178,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
}}
>
- ) : null}
+ ) : (
+ ''
+ )}