@zgfe/modules-dm 1.0.57-zhongyuan.13 → 1.0.57-zhongyuan.14

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.
@@ -414,7 +414,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
414
414
  width: 100
415
415
  },
416
416
  // disabled={isDemo || record.isIdMappingProp || record.category === 'fixed'}
417
- disabled: isDemo || !authority[1000004] || record.category === 'fixed' || record.owner == 'zg_abp',
417
+ disabled: isDemo || !authority[1000004] || !record.canUpdate || record.category === 'fixed' || record.owner == 'zg_abp',
418
418
  onChange: function onChange(e) {
419
419
  return attrChangeHandle(e, record, 'type');
420
420
  },
@@ -678,7 +678,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
678
678
  style: {
679
679
  padding: 0
680
680
  },
681
- disabled: source === 'event' ? record.owner == 'zg_abp' || !authority[1000004] : record.category == 'fixed' || isDemo || !authority[1000004],
681
+ disabled: source === 'event' ? record.owner == 'zg_abp' || !authority[1000004] || !record.canUpdate : record.category == 'fixed' || isDemo || !authority[1000004],
682
682
  onClick: function onClick() {
683
683
  if (isDemo || !authority[1000004]) {
684
684
  message.error('无删除权限');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-zhongyuan.13",
3
+ "version": "1.0.57-zhongyuan.14",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "umi-request": "^1.4.0",
58
58
  "yorkie": "^2.0.0"
59
59
  },
60
- "gitHead": "315a04f47feeb999c898188d0081d55678345ced",
60
+ "gitHead": "e88f576663dcf1ac01bba04d6645e060efa1f0d5",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }