点击编辑和删除按钮控制台报错

提问 已结 9 6268
悬赏:50飞吻
最近的事情:

最近发现点击编辑和删除报错如下:
topjui.core.min.js:2 Uncaught TypeError: Cannot read property 'id' of null
at replaceUrlParamValueByBrace (topjui.core.min.js:2)
at openDialog (topjui.core.min.js:14)
at HTMLAnchorElement.<anonymous> (topjui.core.min.js:15)
at Function.each (jquery.min.js:2)
at m.fn.init.each (jquery.min.js:2)
at openDialog (topjui.core.min.js:15)
at m.fn.init.a.fn.iMenubutton (topjui.core.min.js:15)
at HTMLAnchorElement.onClick (topjui.core.min.js:15)
at HTMLAnchorElement.<anonymous> (topjui.core.min.js:3)
at HTMLAnchorElement.dispatch (jquery.min.js:4)
例如
        <a href="javascript:void(0)"
data-toggle="topjui-menubutton"
data-options="method:'openDialog',
iconCls:'fa fa-pencil',
extend: '#groupTreegrid-toolbar',
btnCls:'topjui-btn-blue',
grid:{
type:'treegrid',
id:'groupTreegrid',
parentIdField:'pid'
},
dialog:{
id:'groupEditDialog',
width:880,
href:'${basePath}/sysRole/toUpdateOrAdd?roleId={id}',
buttonsGroup:[
{text:'更新',url:'${basePath}/sysRole/save',iconCls:'fa fa-save',handler:'ajaxForm',reload:[{type:'treegrid', id:'groupTreegrid'}]}
]
}">编辑</a>
和官方对比没有任何问题,请问是怎么回事,新引入的bug吗
回帖
回帖须知