mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-03-01 00:23:11 +08:00
更新0.1.1版本
This commit is contained in:
12
src/components/DialogContent/index.vue
Normal file
12
src/components/DialogContent/index.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template></template>
|
||||
<script lang="ts">
|
||||
import { useDialog } from 'naive-ui'
|
||||
|
||||
export default {
|
||||
name: 'DialogContent',
|
||||
setup() {
|
||||
//挂载在 window 方便与在js中使用
|
||||
window.$dialog = useDialog()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user