修复编辑器选择素材重复的问题
This commit is contained in:
@ -464,11 +464,12 @@ export default {
|
|||||||
sureUrls() {
|
sureUrls() {
|
||||||
let str = ''
|
let str = ''
|
||||||
this.urls.forEach(item => {
|
this.urls.forEach(item => {
|
||||||
str += '<img width="100%" src="' + item + '">'
|
str += '<img src="' + item + '">'
|
||||||
// this.$set(this.value, this.value.length, item)
|
// this.$set(this.value, this.value.length, item)
|
||||||
nowEditor.dialog.close(true)
|
|
||||||
nowEditor.editor.setContent(str, true)
|
|
||||||
})
|
})
|
||||||
|
nowEditor.dialog.close(true)
|
||||||
|
nowEditor.editor.setContent(str, true)
|
||||||
this.listDialogVisible = false
|
this.listDialogVisible = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user