imatrix-ui 2.9.61-dw → 2.9.63-dw

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "2.9.61-dw",
3
+ "version": "2.9.63-dw",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -729,7 +729,7 @@ gridParams.$rowIndex < gridParams.gridData.length) {
729
729
  gridParams.superGrid.clearSelection()
730
730
  }
731
731
  gridParams.isCreateRow = false
732
- if (isRestore !== undefined && isRestore === true) {
732
+ if (isRestore === undefined || isRestore === false) {
733
733
  // 表示是删除操作,执行删除记录后回调
734
734
  if (isEditOptionFunction('afterDelete', listCode)) {
735
735
  const isSubTableShowPage = gridParams.isSubTableShowPage
@@ -403,6 +403,12 @@ export default {
403
403
  this.cellWidth = newValue
404
404
  }
405
405
  }
406
+ },
407
+ 'column.editable': {
408
+ handler(newValue, oldValue) {
409
+ // console.log('column.editable-----newValue=', newValue, 'column.prop=', this.column.prop)
410
+ this.isEditable = newValue
411
+ }
406
412
  }
407
413
  },
408
414
  created() {