@zgfe/modules-dm 1.0.57-zhongyuan.46 → 1.0.57-zhongyuan.47

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.
@@ -68,6 +68,10 @@ var AddRule = function AddRule(_ref) {
68
68
  message.error('请选择事件或者属性!');
69
69
  return;
70
70
  }
71
+ if (optionsRule.length == 0) {
72
+ message.error('请添加规则');
73
+ return;
74
+ }
71
75
  if (hasEvent) {
72
76
  message.error('该属性的规则已存在,请重新选择属性!');
73
77
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-zhongyuan.46",
3
+ "version": "1.0.57-zhongyuan.47",
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": "c695db61d247d4069f1efbe6198f2fe4d9c958bc",
60
+ "gitHead": "371e3d10dfef743258b3649a534945f270873328",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }