How to use the kpc-vue/components/dialog.confirm function in kpc-vue

To help you get started, we’ve selected a few kpc-vue examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ksc-fe / kpc / components / dialog / demos / terminate / index.vue View on Github external
_terminate() {
            Dialog.confirm({
                content: 'Are you sure you want to close the dialog?'
            }).then(() => {
                this.show = false;
            }, () => {});
        },
    },