Browse Source

修复编辑器选择素材重复的问题

master
hupeng 4 years ago
parent
commit
7b91a225e0
  1. 5
      src/components/editorMaterial/index.vue

5
src/components/editorMaterial/index.vue

@ -464,11 +464,12 @@ export default {
sureUrls() {
let str = ''
this.urls.forEach(item => {
str += '<img width="100%" src="' + item + '">'
str += '<img src="' + item + '">'
// this.$set(this.value, this.value.length, item)
})
nowEditor.dialog.close(true)
nowEditor.editor.setContent(str, true)
})
this.listDialogVisible = false
}
}

Loading…
Cancel
Save