kmkf-work-order-service-component 0.3.4-alpha.2 → 0.3.4-alpha.4

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.
@@ -57,7 +57,7 @@ var EBuyerNick = /*#__PURE__*/function (_BasicComponent) {
57
57
  return [{
58
58
  validator: function validator(_, value) {
59
59
  if (!(value !== null && value !== void 0 && value.buyerNick)) {
60
- return Promise.reject(new Error('请输入买家旺旺'));
60
+ return Promise.reject(new Error('请输入买家昵称'));
61
61
  }
62
62
 
63
63
  return Promise.resolve();
@@ -107,10 +107,11 @@ var ReceiverMobile = /*#__PURE__*/function (_Input) {
107
107
  _this.canGroup = false;
108
108
  _this.canHidden = true;
109
109
  _this.editable = false;
110
- _this.rules = [{
111
- pattern: /^[0-9 |\-]*$/,
112
- message: '字段必须是数字'
113
- }];
110
+ _this.rules = [// {
111
+ // pattern: /^[0-9 |\-]*$/,
112
+ // message: '字段必须是数字',
113
+ // },
114
+ ];
114
115
  return _this;
115
116
  }
116
117
 
@@ -926,7 +926,7 @@ export var getReplaceWarnValues = function getReplaceWarnValues(templateDetail,
926
926
  var componentConfig = next.componentConfig;
927
927
 
928
928
  if (componentConfig !== null && componentConfig !== void 0 && componentConfig.replaceWarn && keyValues[key]) {
929
- if (!(key === 'buyerNick' && keyValues[key].indexOf('*') > -1)) {
929
+ if (keyValues[key].indexOf('*') < 0) {
930
930
  prv.push({
931
931
  componentKey: "".concat(next.uniqueKey, "_").concat(key),
932
932
  componentValue: keyValues[key]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.3.4-alpha.2",
3
+ "version": "0.3.4-alpha.4",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",