import vbcDictSelect from './bc-dict-select'
import { createApp } from "vue"
const bcDictSelect = {}
// 当main.js执行到.use(toast)代码(安装插件)时，会执行obj的install函数
bcDictSelect.install = (app) => {
    /* Vue3的自定义插件 */
    // 1.实例化并绑定组件
    const bccheckDictConstructor = createApp(vbcDictSelect);
    const instance = bccheckDictConstructor.mount(document.createElement('div'));
    // 2.将挂载的Node添加到body中
    document.body.appendChild(instance.$el);
    // 3.定义全局($bcDictSelect即是此插件的名称)
    app.config.globalProperties.$bcDictSelect = instance;
}
export default bcDictSelect
