提交 8fbc4f6d 编写于 作者: fxy060608's avatar fxy060608

移除自定义errorHandler(使用框架默认的错误输出)

上级 059605c2
...@@ -6,9 +6,6 @@ import App from './App.uvue' ...@@ -6,9 +6,6 @@ import App from './App.uvue'
import { createSSRApp } from 'vue' import { createSSRApp } from 'vue'
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
app.config.errorHandler = (err, vm, info) => {
console.log(err, vm, info)
}
// app.mixin({ // app.mixin({
// onReady() { // onReady() {
// setTimeout(() => { // setTimeout(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册