@zgfe/modules-dm 1.0.57-zhongyuan.28 → 1.0.57-zhongyuan.29

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.
@@ -274,7 +274,7 @@ var AddRule = function AddRule(_ref) {
274
274
  status: (currentRuleDetail === null || currentRuleDetail === void 0 ? void 0 : currentRuleDetail.status) == 1 ? true : false
275
275
  });
276
276
  setOptionsRule(currentRuleDetail.verifyDetailVo);
277
- setOptions(optionsRule[0].content != '3' ? [].concat(initOptions, [{
277
+ setOptions(currentRuleDetail.verifyDetailVo[0] && currentRuleDetail.verifyDetailVo[0].content != '3' ? [].concat(initOptions, [{
278
278
  label: '字典校验',
279
279
  value: 6
280
280
  }]) : [].concat(initOptions));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-zhongyuan.28",
3
+ "version": "1.0.57-zhongyuan.29",
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": "2ff5bb2b1c4c01ddae567c8e84744eedc70c26d3",
60
+ "gitHead": "7e235669587096f94f2ff794fc7435ac7f39194a",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }