百度Ueditor读取不了数据库值

<script type="text/javascript">
    var ue = UE.getEditor('editor');
    ue.render(ue);
    window.onload = function() {
        ue.setContent('${iosList.text}');

    }
</script>

刷新有时能显示值,有时不能显示。图片说明

看一下方法里面 有没有获取值的方法

不清楚你的页面结构是咋样,不过通过你的描述,你可以断点或者console在onload的function中,判断ue和ioslist.text是否已经存在。问题很可能因为你的数据加载与dom渲染时机不对