@zgfe/business-lib 1.2.71-hxd.24 → 1.2.71-hxd.25

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.
@@ -123,8 +123,9 @@ var BizTargetFromPanel = function BizTargetFromPanel(props) {
123
123
  setOptions(function (option) {
124
124
  var _props$value9;
125
125
  if (!option.length) return [];
126
- option[option.length - 1].disabled = authority[100005] ? disabled ? true : false : true;
126
+ option[option.length - 1].disabled = disabled;
127
127
  if ((_props$value9 = props.value) === null || _props$value9 === void 0 ? void 0 : _props$value9.target.id) {
128
+ option[option.length - 1].disabled = authority[100005] ? disabled ? true : false : true;
128
129
  option[option.length - 2].disabled = authority[100005] ? disabled ? true : false : true;
129
130
  }
130
131
  return _toConsumableArray(option);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.71-hxd.24",
3
+ "version": "1.2.71-hxd.25",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -55,7 +55,7 @@
55
55
  "react": "^16.12.0 || ^17.0.0",
56
56
  "yorkie": "^2.0.0"
57
57
  },
58
- "gitHead": "0cefde1fc91267db4b1d210d686271f4074e012e",
58
+ "gitHead": "0bb98b72b5a68f2f5018fc9fe801405acc448896",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }