页面调整
This commit is contained in:
@@ -35,8 +35,14 @@ import errorHandler from "@/utils/errorHandler";
|
||||
|
||||
import registerGlobComp from '@/components'
|
||||
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
// 自定义警告处理程序,忽略所有警告
|
||||
if (import.meta.env.VUE_APP_SILENCE_WARNINGS === true) {
|
||||
app.config.warnHandler = () => {};
|
||||
}
|
||||
|
||||
app.config.errorHandler = errorHandler;
|
||||
|
||||
// register the element Icons component
|
||||
|
||||
Reference in New Issue
Block a user