diff --git a/frontend/pages/projects/_id/guideline/index.vue b/frontend/pages/projects/_id/guideline/index.vue index ddd2c47a..3958d3e1 100644 --- a/frontend/pages/projects/_id/guideline/index.vue +++ b/frontend/pages/projects/_id/guideline/index.vue @@ -18,6 +18,9 @@ import '@/assets/style/editor.css' export default { layout: 'project', + components: { + Editor + }, data() { return { editorOptions: { @@ -25,10 +28,6 @@ export default { } } }, - components: { - Editor - }, - validate({ params }) { return /^\d+$/.test(params.id) },