调用setContent方法后,文本能够显示出来,但会报Uncaught ReferenceError: layedit is not defined(看源码是该方法最后调用了layedit.sync(index))

 

需要把layedit.js里的
setContent 函数的

layedit.sync(index));

改成

this.sync(index));

相关文章:

  • 2022-12-23
  • 2021-09-08
  • 2021-11-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2021-12-02
  • 2021-03-31
相关资源
相似解决方案