1
0
mirror of synced 2026-03-22 18:48:34 +08:00

feat(core,editor,ui): 新增页面片

This commit is contained in:
roymondchen
2023-12-18 19:51:41 +08:00
parent 698c3451ff
commit 7b6dcedfad
58 changed files with 1415 additions and 234 deletions

View File

@@ -54,7 +54,7 @@ describe('util form', () => {
test('generatePageName', () => {
// 已有一个页面了再生成出来的name格式为page_${index}
const name = editor.generatePageName(['index', 'page_2']);
const name = editor.generatePageName(['index', 'page_2'], NodeType.PAGE);
// 第二个页面
expect(name).toBe('page_3');
});