style: 优化部分弹窗提示

This commit is contained in:
2024-01-02 22:32:00 +08:00
parent 6d08ba6ca2
commit 74b03bc3f6
11 changed files with 19 additions and 19 deletions

View File

@@ -75,7 +75,7 @@
>
<template #cell="{ record }">
<a-popconfirm
content="确定强退该用户"
content="是否确定强退该用户?"
type="warning"
@ok="handleKickout(record.token)"
>

View File

@@ -172,7 +172,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -509,7 +509,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -155,7 +155,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -484,7 +484,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -157,7 +157,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -396,7 +396,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -71,7 +71,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>

View File

@@ -232,7 +232,7 @@
<template #icon><icon-edit /></template>
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDeleteStorage([record.id])"
>

View File

@@ -170,7 +170,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据?如果存在下级菜单则一并删除,此操作不能撤销!"
content="是否确定删除数据?如果存在下级菜单则一并删除,此操作不能撤销!"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -499,7 +499,7 @@
title: '警告',
titleAlign: 'start',
content:
'确定删除当前选中的数据?如果存在下级菜单则一并删除,此操作不能撤销!',
'是否确定删除所选的数据?如果存在下级菜单则一并删除,此操作不能撤销!',
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -151,7 +151,7 @@
<template #icon><icon-check /></template>标记已读
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -318,7 +318,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -166,7 +166,7 @@
<template #icon><icon-edit /></template>修改
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -708,7 +708,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -229,7 +229,7 @@
<template #icon><icon-edit /></template>
</a-button>
<a-popconfirm
content="确定删除当前选中的数据"
content="是否确定删除数据?"
type="warning"
@ok="handleDelete([record.id])"
>
@@ -244,7 +244,7 @@
</a-button>
</a-popconfirm>
<a-popconfirm
content="确定重置当前用户的密码"
content="是否确定重置当前用户的密码?"
type="warning"
@ok="handleResetPassword(record.id)"
>
@@ -775,7 +775,7 @@
proxy.$modal.warning({
title: '警告',
titleAlign: 'start',
content: '确定删除当前选中的数据吗?',
content: `是否确定删除所选的${ids.value.length}条数据?`,
hideCancel: false,
onOk: () => {
handleDelete(ids.value);

View File

@@ -115,7 +115,7 @@
<a-card title="字段配置" class="field-config">
<template #extra>
<a-popconfirm
content="确定同步最新数据表结构?同步后只要不点击确定保存,则不影响原有配置数据。"
content="是否确定同步最新数据表结构?同步后只要不点击确定保存,则不影响原有配置数据。"
type="warning"
@ok="handleRefresh(form.tableName)"
>