From df250087d96315ca9b7c1cefb6e51954ac006640 Mon Sep 17 00:00:00 2001 From: igeekfan Date: Sat, 19 Oct 2024 12:53:27 +0800 Subject: [PATCH] Update URLs in README.md and editor-form.vue --- README.md | 4 ++-- src/view/article/editor-form.vue | 35 +++++++++++++++++++------------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3fb8062..1e6e0cc 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ ### 文档地址 -- [https://igeekfan.cn/](https://igeekfan.cn/) +- [http://101.34.7.82/](http://101.34.7.82/) ### 线上 Demo -- [https://vvlog.igeekfan.cn/](https://vvlog.igeekfan.cn/) +- [http://101.34.7.82/vvlog](http://101.34.7.82/vvlog) ## 快速上手 diff --git a/src/view/article/editor-form.vue b/src/view/article/editor-form.vue index 2636ab3..ddbbb3d 100644 --- a/src/view/article/editor-form.vue +++ b/src/view/article/editor-form.vue @@ -2,13 +2,25 @@
- + - + @@ -59,7 +71,7 @@ export default { this.isLoading = false }) }, - async created() { }, + async created() {}, watch: { async $route(to, from) { await this.show() @@ -79,21 +91,16 @@ export default { tab: '\t', counter: '999999', typewriterMode: true, - hint: { - }, + hint: {}, mode: 'sv', //ir 即时渲染,sv 分屏预览 wysiwyg 所见即所得 -<<<<<<< HEAD - cdn: 'http://101.34.7.82/vditor', -======= cdn: 'http://101.34.7.82/vditor', ->>>>>>> 039534efa310acf979b798fcc62d0be2a4807656 preview: { delay: 100, show: true, markdown: { toc: true, theme: 'light', - mark: true + mark: true, }, hljs: { enable: true, @@ -138,7 +145,7 @@ export default { }, outline: { enable: true, - position: 'left' + position: 'left', }, after: () => { this.show() @@ -208,7 +215,7 @@ export default { content: value, }) console.log('自动保存') - } + }, }, }