Browse Source

修复双击bug

ellisran 1 year ago
parent
commit
7aa07f13f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/public/js/change_apply_information.js

+ 1 - 0
app/public/js/change_apply_information.js

@@ -319,6 +319,7 @@ $(document).ready(() => {
                 const type = SpreadJsObj.getSelectObject(info.sheet) ? 'update' : 'add';
                 const select = type === 'update' ? SpreadJsObj.getSelectObject(info.sheet) : {unit: ''};
                 const col = info.sheet.zh_setting.cols[info.col];
+                if (col.field === 'new_up') return;
                 // 未改变值则不提交
                 let validText = (col.type === 'Number' || col.field === 'new_up') && is_numeric(info.editingText) ? parseFloat(info.editingText) : (info.editingText ? trimInvalidChar(info.editingText) : '');
                 const orgValue = type === 'update' ? select[col.field] : '';