Skip to content

Commit

Permalink
Update URLs in README.md and editor-form.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Oct 19, 2024
1 parent 087861d commit df25008
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

## 快速上手

Expand Down
35 changes: 21 additions & 14 deletions src/view/article/editor-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@
<div>
<head-nav @confirmEdit="confirmEdit"></head-nav>
<div class="editor-container">
<el-form class="editor-form" :rules="rules" :model="form" status-icon ref="form" label-width="100px"
@submit.native.prevent>
<el-form
class="editor-form"
:rules="rules"
:model="form"
status-icon
ref="form"
label-width="100px"
@submit.native.prevent
>
<el-row>
<el-col :lg="24">
<el-form-item prop="title" style="margin-bottom: 0px !important">
<el-input class="editor-title" size="default" v-model="form.title" placeholder="请填写随笔标题"
style="font-size: 1.4rem"></el-input>
<el-input
class="editor-title"
size="default"
v-model="form.title"
placeholder="请填写随笔标题"
style="font-size: 1.4rem"
></el-input>
</el-form-item>
</el-col>
<el-col :lg="24">
Expand Down Expand Up @@ -59,7 +71,7 @@ export default {
this.isLoading = false
})
},
async created() { },
async created() {},
watch: {
async $route(to, from) {
await this.show()
Expand All @@ -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,
Expand Down Expand Up @@ -138,7 +145,7 @@ export default {
},
outline: {
enable: true,
position: 'left'
position: 'left',
},
after: () => {
this.show()
Expand Down Expand Up @@ -208,7 +215,7 @@ export default {
content: value,
})
console.log('自动保存')
}
},
},
}
</script>
Expand Down

0 comments on commit df25008

Please sign in to comment.