mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 21:25:59 +00:00
Merge branch 'master' into mongo
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "4.0.3-rc.1",
|
"version": "4.0.3",
|
||||||
"name": "dbgate-tools",
|
"name": "dbgate-tools",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"typings": "lib/index.d.ts",
|
"typings": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -359,7 +359,7 @@
|
|||||||
grider.endUpdate();
|
grider.endUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function insertNewRow() {
|
export async function insertNewRow() {
|
||||||
if (grider.canInsert) {
|
if (grider.canInsert) {
|
||||||
const rowIndex = grider.insertRow();
|
const rowIndex = grider.insertRow();
|
||||||
const cell = [rowIndex, (currentCell && currentCell[1]) || 0];
|
const cell = [rowIndex, (currentCell && currentCell[1]) || 0];
|
||||||
@@ -367,6 +367,7 @@
|
|||||||
currentCell = cell;
|
currentCell = cell;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
selectedCells = [cell];
|
selectedCells = [cell];
|
||||||
|
await tick();
|
||||||
scrollIntoView(cell);
|
scrollIntoView(cell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user