ueditor在引入公式插件kityformula​​​​​​​报错Uncaught Error: The load ../../themes/default/dialogbase.css

当我们点击公式插件的符号就会报错如下ueditor在引入公式插件kityformula​​​​​​​报错Uncaught Error: The load ../../themes/default/dialogbase.css

 

然后我们点击后面查看他报错的地方

ueditor在引入公式插件kityformula​​​​​​​报错Uncaught Error: The load ../../themes/default/dialogbase.css 

然后发现原来是他的路径写错了。

ueditor在引入公式插件kityformula​​​​​​​报错Uncaught Error: The load ../../themes/default/dialogbase.css

 

然后我们把 href: "../../themes/default/dialogbase.css?cache="+Math.random(),改成 href: "../themes/default/dialogbase.css?cache="+Math.random(), 

这样就不会报错了