13 lines
252 B
Vue
13 lines
252 B
Vue
![]() |
<template></template>
|
||
|
<script lang="ts">
|
||
|
import { useDialog } from 'naive-ui';
|
||
|
|
||
|
export default {
|
||
|
name: 'DialogContent',
|
||
|
setup() {
|
||
|
//挂载在 window 方便与在js中使用
|
||
|
window['$dialog'] = useDialog();
|
||
|
},
|
||
|
};
|
||
|
</script>
|