mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 08:36:19 +08:00
fix: vxeGrid init without search form (#5342)
* 修复vxeGrid在未使用表单的情况下,自动加载数据失效的问题。 * 暂时将vxeGrid版本锁定在4.10.0,新版本尺寸计算尚有问题
This commit is contained in:
@@ -95,7 +95,7 @@ export class FormApi {
|
||||
|
||||
async getValues() {
|
||||
const form = await this.getForm();
|
||||
return this.handleRangeTimeValue(form.values);
|
||||
return form.values ? this.handleRangeTimeValue(form.values) : {};
|
||||
}
|
||||
|
||||
async isFieldValid(fieldName: string) {
|
||||
|
Reference in New Issue
Block a user