<template>
    <slot></slot>
</template>

<script setup>
import {ElMessage, ElLoading, ElNotification, ElMessageBox} from 'element-plus'
//import split from "split.js";
import {HcLog} from '~uti/tools'

// 将ui的函数挂载在windows对象上
function registerElTools() {
    window['$loading'] = ElLoading;
    window['$messageBox'] = ElMessageBox;
    window['$message'] = ElMessage;
    window['$notification'] = ElNotification;
    window['$HcLog'] = HcLog;
    //window['$split'] = split;
}

registerElTools()
</script>
