fix: 新增悬停回到首页功能,组件全局使用。
This commit is contained in:
@@ -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)
|
||||
|
||||
// 全局方法挂载
|
||||
|
||||
Reference in New Issue
Block a user