更新vxetable框架并升级前端组件框架
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {createApp} from 'vue';
|
||||
import {createApp} from 'vue';
|
||||
|
||||
import VxeUIAll from 'vxe-table';
|
||||
import 'vxe-table/lib/style.css';
|
||||
@@ -80,6 +80,15 @@ setTimeout(() => {
|
||||
}
|
||||
}, 500);
|
||||
|
||||
|
||||
// Suppress Element Plus ElForm NaN width warning during vxe-table expand row teardown
|
||||
const _origWarn = console.warn;
|
||||
console.warn = (...args) => {
|
||||
const msg = args[0]?.toString?.() ?? "";
|
||||
if (msg.includes("[ElForm]") && msg.includes("unexpected width")) return;
|
||||
_origWarn.apply(console, args);
|
||||
};
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
// 检查是否在 WebView 环境中(使用可选链避免 ReferenceError)
|
||||
|
||||
Reference in New Issue
Block a user