Commit 934ccd34ea4cb3c408ce40dbc75032c3ccbce821

Authored by Micah
Committed by GitHub
1 parent 85f1e58b

fix: 修复 当窗口过窄时,表格中的删除确认框样式错乱 的问题 (#1972)

src/views/demo/system/account/index.vue
@@ -24,6 +24,7 @@ @@ -24,6 +24,7 @@
24 tooltip: '删除此账号', 24 tooltip: '删除此账号',
25 popConfirm: { 25 popConfirm: {
26 title: '是否确认删除', 26 title: '是否确认删除',
  27 + placement: 'left',
27 confirm: handleDelete.bind(null, record), 28 confirm: handleDelete.bind(null, record),
28 }, 29 },
29 }, 30 },
src/views/demo/system/dept/index.vue
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 color: 'error', 16 color: 'error',
17 popConfirm: { 17 popConfirm: {
18 title: '是否确认删除', 18 title: '是否确认删除',
  19 + placement: 'left',
19 confirm: handleDelete.bind(null, record), 20 confirm: handleDelete.bind(null, record),
20 }, 21 },
21 }, 22 },
src/views/demo/system/menu/index.vue
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 color: 'error', 16 color: 'error',
17 popConfirm: { 17 popConfirm: {
18 title: '是否确认删除', 18 title: '是否确认删除',
  19 + placement: 'left',
19 confirm: handleDelete.bind(null, record), 20 confirm: handleDelete.bind(null, record),
20 }, 21 },
21 }, 22 },
src/views/demo/system/role/index.vue
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 color: 'error', 16 color: 'error',
17 popConfirm: { 17 popConfirm: {
18 title: '是否确认删除', 18 title: '是否确认删除',
  19 + placement: 'left',
19 confirm: handleDelete.bind(null, record), 20 confirm: handleDelete.bind(null, record),
20 }, 21 },
21 }, 22 },