Browse Source

fix: add_page_after 指令修正

ChenYangfan 6 years ago
parent
commit
b60d587f87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/modules/editor.js

+ 1 - 1
src/store/modules/editor.js

@@ -51,7 +51,7 @@ export default {
             type: 'h3',
             placeholder: '未命名副标题',
             content: ''
-          }]
+          }, ...state.pages.slice(index + 1)]
         }
       ]
     },