🐘更正同步域提示信息

This commit is contained in:
KaneLeung 2024-12-13 11:22:40 +08:00
parent 65f46bb755
commit 747dbf39e6

View File

@ -224,7 +224,7 @@ const gridEvents: VxeGridListeners<SysLdap> = {
// //
const handleSync = (row: any) => { const handleSync = (row: any) => {
ElMessageBox.confirm(`确定要删除域登录信息配置:【${row.host}】?`, '提示', { ElMessageBox.confirm(`确定要同步域登录信息配置:【${row.host}】?`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
@ -232,7 +232,7 @@ const handleSync = (row: any) => {
.then(async () => { .then(async () => {
await getAPI(SysLdapApi).apiSysLdapSyncUserPost({ id: row.id }); await getAPI(SysLdapApi).apiSysLdapSyncUserPost({ id: row.id });
handleQuery(); handleQuery();
ElMessage.success('删除成功'); ElMessage.success('同步成功');
}) })
.catch(() => {}); .catch(() => {});
}; };