mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改文件建构
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import DialogContent from './index.vue';
|
||||
|
||||
export { DialogContent };
|
||||
@@ -0,0 +1,6 @@
|
||||
<template></template>
|
||||
<script lang="ts" setup>
|
||||
import { useDialog } from 'naive-ui';
|
||||
//挂载在 window 方便与在js中使用
|
||||
window['$dialog'] = useDialog();
|
||||
</script>
|
||||
@@ -0,0 +1,3 @@
|
||||
import LoadingContent from './index.vue';
|
||||
|
||||
export { LoadingContent };
|
||||
@@ -0,0 +1,8 @@
|
||||
<template></template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useLoadingBar } from 'naive-ui'
|
||||
// 挂载在 window 方便与在js中使用
|
||||
window['$loading'] = useLoadingBar()
|
||||
window['$loading'].finish()
|
||||
</script>
|
||||
@@ -0,0 +1,3 @@
|
||||
import MessageContent from './index.vue';
|
||||
|
||||
export { MessageContent };
|
||||
@@ -0,0 +1,7 @@
|
||||
<template></template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useMessage } from 'naive-ui';
|
||||
//挂载在 window 方便与在js中使用
|
||||
window['$message'] = useMessage();
|
||||
</script>
|
||||
Reference in New Issue
Block a user