mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2025-12-26 07:56:43 +08:00
编辑器报错
This commit is contained in:
parent
f00b93f831
commit
e2d21d6ae4
@ -208,7 +208,9 @@ export default {
|
||||
}
|
||||
},
|
||||
setContent (value) {
|
||||
window.tinymce.get(this.tinymceId).setContent(value)
|
||||
if (window.tinymce) {
|
||||
window.tinymce.get(this.tinymceId).setContent(value)
|
||||
}
|
||||
},
|
||||
getContent () {
|
||||
window.tinymce.get(this.tinymceId).getContent()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user