Skip to content

Commit

Permalink
EditorHeader.vue: preview button tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sora-blue committed Aug 25, 2022
1 parent b244bac commit 745cdd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function onSave() {
}
function onPreview() {
projectStore.saveProject()
route.push("/preview");
}
Expand Down Expand Up @@ -92,9 +93,9 @@ onMounted(() => {
<a-button type="outline" @click="onPaste">粘贴</a-button>
<a-button type="outline" @click="onCut">剪切</a-button>
<a-button type="outline" @click="onRemove" status='danger'>删除</a-button>
<a-button type="outline" @click="onPreview">预览</a-button>
<a-button type="outline" @click="onReset" status='danger'>重置</a-button>
<a-button type="outline" @click="onSave">暂存到本地</a-button>
<a-button type="outline" @click="onPreview">暂存并预览</a-button>
<a-button type="outline" @click="onPublish">保存并发布</a-button>
<a-button type="outline" @click="onBackToIndex">返回主页</a-button>
</div>
Expand Down

0 comments on commit 745cdd9

Please sign in to comment.