|
@@ -18,6 +18,7 @@ import 'element-plus/dist/index.css'
|
|
await initMainRouter() // 路由挂载前初始化路由表
|
|
await initMainRouter() // 路由挂载前初始化路由表
|
|
const app = createApp(App)
|
|
const app = createApp(App)
|
|
app.config.errorHandler = (err, instance, info) => {
|
|
app.config.errorHandler = (err, instance, info) => {
|
|
|
|
+ console.error(err)
|
|
const path = instance?.$options.__file
|
|
const path = instance?.$options.__file
|
|
ElNotification({
|
|
ElNotification({
|
|
duration: 0,
|
|
duration: 0,
|