Browse Source

输出异常

CzRger 6 months ago
parent
commit
4acb3de9e5
2 changed files with 1 additions and 1 deletions
  1. 1 0
      src/main.ts
  2. 0 1
      src/style/cus.scss

+ 1 - 0
src/main.ts

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

+ 0 - 1
src/style/cus.scss

@@ -11,7 +11,6 @@
   --cus-main-color-hex-2: #273A58;
   --el-notification-width: min-content;
 }
-
 .__hover {
   &:hover {
     opacity: 0.75;