import { createApp } from 'vue'; import ElementPlus from 'element-plus'; import App from './App.vue'; import router from './router'; import i18n from './i18n'; import '@/permission'; import '@/styles/tailwind.scss'; import '@/styles/element-plus.scss'; import '@/styles/index.scss'; const app = createApp(App) .use(router) // tinymce 对话框的层级太低,必须调低 ElementPlus 的 对话框层级(默认为2000) .use(ElementPlus, { zIndex: 500 }) .use(i18n); app.mount('#app');