fix: modal close
This commit is contained in:
@@ -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();
|
||||
// });
|
||||
NsMessage.success('冻结成功');
|
||||
},
|
||||
onCancel() {
|
||||
console.log('Cancel');
|
||||
return new Promise((resolve, reject) => {
|
||||
NsMessage.success('冻结成功');
|
||||
}).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');
|
||||
|
Reference in New Issue
Block a user