Skip to content

Commit

Permalink
style: 优化部分弹窗提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Jan 2, 2024
1 parent 6d08ba6 commit 74b03bc
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/views/monitor/online/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
>
<template #cell="{ record }">
<a-popconfirm
content="确定要强退该用户吗"
content="是否确定强退该用户"
type="warning"
@ok="handleKickout(record.token)"
>
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/announcement/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -509,7 +509,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/dept/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -484,7 +484,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/dict/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -396,7 +396,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/dict/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/file/main/FileMain/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<template #icon><icon-edit /></template>
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDeleteStorage([record.id])"
>
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/menu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗?如果存在下级菜单则一并删除,此操作不能撤销!"
content="是否确定删除该数据?如果存在下级菜单则一并删除,此操作不能撤销!"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -499,7 +499,7 @@
title: '警告',
titleAlign: 'start',
content:
'确定要删除当前选中的数据吗?如果存在下级菜单则一并删除,此操作不能撤销!',
'是否确定删除所选的数据?如果存在下级菜单则一并删除,此操作不能撤销!',
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/message/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<template #icon><icon-check /></template>标记已读
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -318,7 +318,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/role/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand Down Expand Up @@ -708,7 +708,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
6 changes: 3 additions & 3 deletions src/views/system/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
<template #icon><icon-edit /></template>
</a-button>
<a-popconfirm
content="确定要删除当前选中的数据吗"
content="是否确定删除该数据"
type="warning"
@ok="handleDelete([record.id])"
>
Expand All @@ -244,7 +244,7 @@
</a-button>
</a-popconfirm>
<a-popconfirm
content="确定要重置当前用户的密码吗"
content="是否确定重置当前用户的密码"
type="warning"
@ok="handleResetPassword(record.id)"
>
Expand Down Expand Up @@ -775,7 +775,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定要删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);
Expand Down
2 changes: 1 addition & 1 deletion src/views/tool/generator/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<a-card title="字段配置" class="field-config">
<template #extra>
<a-popconfirm
content="确定要同步最新数据表结构吗?同步后只要不点击确定保存,则不影响原有配置数据。"
content="是否确定同步最新数据表结构?同步后只要不点击确定保存,则不影响原有配置数据。"
type="warning"
@ok="handleRefresh(form.tableName)"
>
Expand Down

0 comments on commit 74b03bc

Please sign in to comment.