fix: modal close

This commit is contained in:
xuziqiang
2024-05-23 17:09:08 +08:00
parent c8718677f4
commit 79743608b8

View File

@@ -301,6 +301,7 @@
title: '是否冻结该账户',
icon: createVNode(ExclamationCircleOutlined),
content: createVNode('div', { style: 'color:red;' }, ''),
onOk() {
// http
// .post('/api/parking_merchant/objs/gateInfo/delete', {
@@ -309,10 +310,9 @@
// .then((res) => {
// mainRef.value.nsTableRef.reload();
// });
return new Promise((resolve, reject) => {
NsMessage.success('冻结成功');
},
onCancel() {
console.log('Cancel');
}).catch(() => console.log('Oops errors!'));
},
class: 'test',
});
@@ -465,9 +465,6 @@
{
label: '删除',
name: 'RoleTypeEdit',
dynamicParams: {
uuid: 'uuid',
},
confirm: true,
handle: (record: any, name, reload) => {
console.log(record, name, reload, 'record');