mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 10:16:03 +00:00
fix
This commit is contained in:
@@ -10,10 +10,10 @@ export default class FreeTableGrider extends Grider {
|
|||||||
this.model = modelState && modelState.value;
|
this.model = modelState && modelState.value;
|
||||||
}
|
}
|
||||||
getRowData(index: any) {
|
getRowData(index: any) {
|
||||||
return this.model.rows[index];
|
return this.model.rows?.[index];
|
||||||
}
|
}
|
||||||
get rowCount() {
|
get rowCount() {
|
||||||
return this.model.rows.length;
|
return this.model.rows?.length;
|
||||||
}
|
}
|
||||||
get currentModel(): FreeTableModel {
|
get currentModel(): FreeTableModel {
|
||||||
return this.batchModel || this.model;
|
return this.batchModel || this.model;
|
||||||
|
|||||||
Reference in New Issue
Block a user