|
@@ -547,6 +547,7 @@ $(document).ready(function() {
|
|
|
};
|
|
|
// 未改变值则不提交
|
|
|
const orgValue = node[col.field];
|
|
|
+ if (info.editingText === null) info.editingText = '';
|
|
|
const newValue = col.wordWrap ? info.editingText : trimInvalidChar(info.editingText);
|
|
|
if (orgValue == info.editingText || ((!orgValue || orgValue === '') && (newValue === ''))) {
|
|
|
return;
|