Skip to content

Commit 424f429

Browse files
committed
start from suffix number 1
1 parent 353baf2 commit 424f429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/queries/queryComp.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ class QueryListComp extends QueryListTmpComp implements BottomResListComp {
778778
//Regenerate variable header
779779
jsonData.variables?.variables?.forEach(kv => {
780780
const [prefix, _] = (kv.key as string).split(/(?=\d+$)/);
781-
let i=2, newName = "";
781+
let i=1, newName = "";
782782
do {
783783
newName = prefix + (i++);
784784
} while(editorState.checkRename("", newName));

0 commit comments

Comments
 (0)