ng-ytl-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
39 lines (32 loc) • 922 B
text/typescript
import { Component } from '@angular/core';
export class NzDemoModalBasicComponent {
isVisible = false;
showModal = () => {
this.isVisible = true;
}
handleOk = (e) => {
console.log('点击了确定');
this.isVisible = false;
}
handleCancel = (e) => {
console.log(e);
this.isVisible = false;
}
constructor() {}
}