NutzCN Logo
问答 nutzwk中加入pageoffice插件后,添加新用户不重启服务报前端js错误
发布于 2398天前 作者 qq_96c46988 2028 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

在用户管理界面新增用户,到pageoffice相关页面后,一直报错(重启服务后正常)

Uncaught TypeError: jQuery.easing[jQuery.easing.def] is not a function
at Object.swing (:7078/tass/assets/plugins/jquery.easing.min.js:44)
at init.run (:7078/tass/assets/plugins/jquery-1.11.1.min.js:4)
at i (:7078/tass/assets/plugins/jquery-1.11.1.min.js:4)
at m.fx.tick (:7078/tass/assets/plugins/jquery-1.11.1.min.js:4)

在其他功能新增页面进入后也会报错(刷新后正常)
Uncaught TypeError: $(...).autocomplete is not a function
at entrustUnitAuto (eval at (jquery.min.js:4), :91:31)
at HTMLDocument.eval (eval at (jquery.min.js:4), :160:9)
at c (jquery.min.js:4)
at Object.add as done
at init.ready (jquery.min.js:4)
at eval (eval at (jquery.min.js:4), :159:17)
at eval ()
at jquery.min.js:4
at Function.globalEval (jquery.min.js:4)
at init.domManip (jquery.min.js:5)

3 回复

目测是js加载顺序的问题

自己也是这么觉得的,可能是原生js 和pageoffice的js冲突了,但是添加用户后重启服务就没这个问题,这一点就想不通

PJAX模式 加载百度编辑器的时候 需要setTimeout 延迟初始化,因为页面是ajax加载的存在延迟

添加回复
请先登陆
回到顶部