Skip to content

Commit

Permalink
fix: 修护编辑器在保存的时候,保存失败的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jy03078959 committed Dec 6, 2019
1 parent f8901ed commit 715266d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@
this.ema.fire('screenshot', document.querySelector('#stage'), {height: 486, fileName: urlInfo.params.key + '.jpg'}, (src) => {
console.log('screenshot', src)
var info = Object.assign({}, this.pageInfo)
info.content = window.localStorage.getItem(this.STORAGE_KEY)
info.image = src
Server({
url: 'editor/pages/save',
Expand Down

0 comments on commit 715266d

Please sign in to comment.