Skip to content

Commit

Permalink
fix bug #26
Browse files Browse the repository at this point in the history
  • Loading branch information
enilu committed May 10, 2019
1 parent 70d23dc commit 89beb00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guns-admin-vuejs/src/views/cms/article/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export default {
this.hasChange = true
const content = editor.getContent()
this.form.content = content
// this.$emit('input', content)
})
},
setup(editor) {
Expand Down Expand Up @@ -180,12 +179,13 @@ export default {
save() {
this.$refs['form'].validate((valid) => {
if (valid) {
const content = this.form.content.split('%').join('%25')
save({
id: this.form.id,
title: this.form.title,
author: this.form.author,
idChannel: this.form.idChannel,
content: this.form.content,
content: content,
img: this.form.img
}).then(response => {
this.$message({
Expand Down

0 comments on commit 89beb00

Please sign in to comment.