mirror of
https://github.com/bufanyun/hotgo.git
synced 2026-02-14 18:34:31 +08:00
v2.0
This commit is contained in:
3
web/src/components/DialogContent/index.ts
Normal file
3
web/src/components/DialogContent/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import DialogContent from './index.vue';
|
||||
|
||||
export { DialogContent };
|
||||
12
web/src/components/DialogContent/index.vue
Normal file
12
web/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