fix(plugin-sequence-field): integer generated should not less then start (#1330)
This commit is contained in:
parent
346af57b55
commit
58b7c5dd30
@ -58,7 +58,7 @@ sequencePatterns.register('integer', {
|
||||
|
||||
let next;
|
||||
if (lastSeq && lastSeq.get('current') != null) {
|
||||
next = lastSeq.get('current') + 1;
|
||||
next = Math.max(lastSeq.get('current') + 1, start);
|
||||
|
||||
// cycle as cron string
|
||||
if (cycle) {
|
||||
|
Loading…
Reference in New Issue
Block a user