fix: autonumber bug

This commit is contained in:
kerwin612
2022-03-11 16:32:04 +08:00
parent 3342f884ce
commit 4f5cab7f4c
3 changed files with 22 additions and 0 deletions

1
src/mermaidAPI.js Executable file → Normal file
View File

@@ -94,6 +94,7 @@ function parse(text) {
parser.parser.yy = flowDb;
break;
case 'sequence':
sequenceDb.clear();
parser = sequenceParser;
parser.parser.yy = sequenceDb;
break;