在方法中添加 e.setReturnValue(true); //这个是表头表尾编辑前事件一定要有的,否则会报错(返回值的问题) https://blog.csdn.net/siyi1219/article/details/107587939