From 32fb1346759c9c649d263c82e5b88a61f5085287 Mon Sep 17 00:00:00 2001 From: YangQi Date: Wed, 17 Aug 2022 14:05:18 +0800 Subject: [PATCH] perf: separation dialog component (#187) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 分离组件 - 调整提示信息 --- .../EditorHeader/PostInfoDialog.vue | 56 +++++++++++++++++++ .../CodemirrorEditor/EditorHeader/index.vue | 43 +++----------- 2 files changed, 64 insertions(+), 35 deletions(-) create mode 100644 src/components/CodemirrorEditor/EditorHeader/PostInfoDialog.vue diff --git a/src/components/CodemirrorEditor/EditorHeader/PostInfoDialog.vue b/src/components/CodemirrorEditor/EditorHeader/PostInfoDialog.vue new file mode 100644 index 0000000..0e95fe0 --- /dev/null +++ b/src/components/CodemirrorEditor/EditorHeader/PostInfoDialog.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/components/CodemirrorEditor/EditorHeader/index.vue b/src/components/CodemirrorEditor/EditorHeader/index.vue index d4d74f7..8ac6e51 100644 --- a/src/components/CodemirrorEditor/EditorHeader/index.vue +++ b/src/components/CodemirrorEditor/EditorHeader/index.vue @@ -181,41 +181,12 @@ 发布 - - - - 取 消 - 确 定 - - + +