mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-01 09:30:48 +08:00
fix: 全局格式化
This commit is contained in:
@@ -4,4 +4,3 @@ import { initTheme } from '~/utils/theme'
|
||||
export default defineNuxtPlugin(() => {
|
||||
initTheme()
|
||||
})
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ export default defineNuxtPlugin(async (nuxtApp) => {
|
||||
try {
|
||||
// 使用动态导入来避免 CommonJS 模块问题
|
||||
const { default: Toast, POSITION } = await import('vue-toastification')
|
||||
|
||||
|
||||
nuxtApp.vueApp.use(Toast, {
|
||||
position: POSITION.TOP_RIGHT,
|
||||
containerClassName: 'open-isle-toast-style-v1',
|
||||
|
||||
Reference in New Issue
Block a user