1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-29 04:20:22 +08:00

refactor: 规范文件夹结构

This commit is contained in:
张传龙
2022-05-12 19:50:21 +08:00
parent 958589edd0
commit 1190d08a87
5 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
<template>
<div p24>
<n-button type="error" @click="handleDelete">删除</n-button>
</div>
</template>
<script setup name="TestDialog">
const handleDelete = function () {
$dialog.confirm({
content: '确认删除?',
confirm() {
$dialog.success('删除成功', { positiveText: '我知道了' })
},
cancel() {
$dialog.warning('已取消', { closable: true })
},
})
}
</script>