調用setContent方法后,文本能夠顯示出來,但會報Uncaught ReferenceError: layedit is not defined(看源碼是該方法最后調用了layedit.sync(index))
需要把layedit.js里的
setContent 函數的
layedit.sync(index));
改成
this.sync(index));
調用setContent方法后,文本能夠顯示出來,但會報Uncaught ReferenceError: layedit is not defined(看源碼是該方法最后調用了layedit.sync(index))
需要把layedit.js里的
setContent 函數的
layedit.sync(index));
改成
this.sync(index));
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。