fix: 新增悬停回到首页功能,组件全局使用。

This commit is contained in:
tianyongbao
2024-12-15 21:04:11 +08:00
parent 3dc43425fa
commit cca1cfb15d
6 changed files with 89 additions and 4 deletions

View File

@@ -9,14 +9,17 @@ import directive from './directive' // directive
import { useDict } from '@/utils/dict'
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
import mySelectCheckbox from '@/components/my-selectCheckbox/my-selectCheckbox.vue';
import suspend from '@/components/suspend/suspend.vue';
export function createApp() {
const app = createSSRApp(App)
app.use(store)
app.use(uviewPlus)
app.use(plugins)
// 注册全局组件
app.component('mySelectCheckbox', mySelectCheckbox);
app.component('suspend', suspend);
directive(app)
// 全局方法挂载