import { getCurrentInstance } from 'vue';
let root = getCurrentInstance();
let global = root.appContext.config.globalProperties;
global.$error / global.$success / global.$warning
vue自带弹窗
最新推荐文章于 2024-05-05 08:00:00 发布
import { getCurrentInstance } from 'vue';
let root = getCurrentInstance();
let global = root.appContext.config.globalProperties;
global.$error / global.$success / global.$warning