浏览代码

Update bootstrap-table-editable.js

Aleksey Kuznietsov 2 年之前
父节点
当前提交
f7ac3b00b5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/extensions/editable/bootstrap-table-editable.js

+ 2 - 2
src/extensions/editable/bootstrap-table-editable.js

@@ -78,8 +78,8 @@ $.BootstrapTable = class extends $.BootstrapTable {
 
         const editableOpts = Utils.calculateObjectValue(column,
           column.editable, [index, row], {})
-        let noEditFormatter = editableOpts.hasOwnProperty("noEditFormatter") &&
-                              editableOpts.noEditFormatter(value, row, index, field);
+        const noEditFormatter = editableOpts.hasOwnProperty("noEditFormatter") &&
+                                editableOpts.noEditFormatter(value, row, index, field);
 
         if (noEditFormatter) {
             return noEditFormatter