ronds-metadata 1.3.37 → 1.3.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/es/comps/DynamicPorts/comps/NodeElementForm.js +5 -4
  2. package/es/comps/DynamicPorts/comps/NodeElementNormal.js +5 -4
  3. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.js +3 -2
  4. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.js +2 -1
  5. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.js +3 -2
  6. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.js +3 -2
  7. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.js +4 -3
  8. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.js +3 -2
  9. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.js +1 -1
  10. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.js +3 -2
  11. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.js +3 -2
  12. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.js +4 -3
  13. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.js +4 -3
  14. package/es/comps/FormGenerator/comps/Canvas/core/index.js +3 -2
  15. package/es/comps/FormGenerator/comps/Canvas/index.js +7 -6
  16. package/es/comps/FormGenerator/comps/Settings/index.js +3 -2
  17. package/es/comps/FormGenerator/comps/Sidebar/Elements.js +4 -2
  18. package/es/comps/FormGenerator/comps/Sidebar/index.js +3 -2
  19. package/es/comps/FormGenerator/settings/index.js +33 -32
  20. package/es/comps/FormGenerator/settings/ruleConfig.js +47 -46
  21. package/es/comps/MetadataForm/DataCell/Array.js +3 -3
  22. package/es/comps/MetadataForm/DataCell/Input.js +3 -3
  23. package/es/comps/MetadataForm/DataCell/Number.js +16 -16
  24. package/es/comps/MetadataForm/DataCell/Ref.js +12 -12
  25. package/es/comps/MetadataForm/DataCell/Select.js +19 -19
  26. package/es/comps/MetadataForm/DataCell/Switch.js +12 -12
  27. package/es/comps/MetadataForm/DataCell/layout/TableArray.js +3 -2
  28. package/es/comps/locales/en-US.d.ts +118 -0
  29. package/es/comps/locales/en-US.js +120 -2
  30. package/package.json +3 -1
@@ -2,9 +2,10 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  /*
3
3
  * @Author: wangxian
4
4
  * @Date: 2023-02-06 08:24:17
5
- * @LastEditTime: 2023-10-12 10:48:05
5
+ * @LastEditTime: 2024-04-17 14:36:01
6
6
  */
7
7
  import { RefRule, Rule } from './ruleConfig';
8
+ import { tr } from '../../../framework/locale';
8
9
  export var inputSchema = [{
9
10
  id: 'inputSchema',
10
11
  type: 'object',
@@ -136,37 +137,37 @@ export var mutiSelectParam = {
136
137
  // 基础组件列表渲染
137
138
  export var basicComps = [{
138
139
  id: 'input',
139
- name: '单行文本',
140
+ name: tr('单行文本'),
140
141
  type: 'input',
141
142
  param: inputParam
142
143
  }, {
143
144
  id: 'textarea',
144
- name: '多行文本',
145
+ name: tr('多行文本'),
145
146
  type: 'textarea',
146
147
  param: textareaParam
147
148
  }, {
148
149
  id: 'date',
149
- name: '日期选择',
150
+ name: tr('日期选择'),
150
151
  type: 'date',
151
152
  param: dateParam
152
153
  }, {
153
154
  id: 'number',
154
- name: '数字输入框',
155
+ name: tr('数字输入框'),
155
156
  type: 'number',
156
157
  param: numberParam
157
158
  }, {
158
159
  id: 'switch',
159
- name: '开关',
160
+ name: tr('开关'),
160
161
  type: 'switch',
161
162
  param: switchParam
162
163
  }, {
163
164
  id: 'select',
164
- name: '下拉单选',
165
+ name: tr('下拉单选'),
165
166
  type: 'select',
166
167
  param: selectParam
167
168
  }, {
168
169
  id: 'mutiSelect',
169
- name: '下拉多选',
170
+ name: tr('下拉多选'),
170
171
  type: 'mutiSelect',
171
172
  param: mutiSelectParam
172
173
  }];
@@ -215,32 +216,32 @@ export var numberRangeParam = {
215
216
  // 基础组件列表渲染
216
217
  export var complexComps = [{
217
218
  id: 'color',
218
- name: '颜色选择',
219
+ name: tr('颜色选择'),
219
220
  type: 'color',
220
221
  param: colorParam
221
222
  }, {
222
223
  id: 'password',
223
- name: '密码框',
224
+ name: tr('密码框'),
224
225
  type: 'password',
225
226
  param: passwordParam
226
227
  }, {
227
228
  id: 'upload',
228
- name: '上传',
229
+ name: tr('上传'),
229
230
  type: 'upload',
230
231
  param: uploadParam
231
232
  }, {
232
233
  id: 'checkbox',
233
- name: '点击多选',
234
+ name: tr('点击多选'),
234
235
  type: 'checkbox',
235
236
  param: checkboxParam
236
237
  }, {
237
238
  id: 'radio',
238
- name: '点击单选',
239
+ name: tr('点击单选'),
239
240
  type: 'radio',
240
241
  param: radioParam
241
242
  }, {
242
243
  id: 'numberRange',
243
- name: '数字区间',
244
+ name: tr('数字区间'),
244
245
  type: 'numberRange',
245
246
  param: numberRangeParam
246
247
  }];
@@ -262,29 +263,29 @@ export var tableParam = {
262
263
  // 布局组件列表渲染
263
264
  export var layoutComps = [{
264
265
  id: 'obj',
265
- name: '对象',
266
+ name: tr('对象'),
266
267
  type: 'obj',
267
268
  param: objParam
268
269
  }, {
269
270
  id: 'list',
270
- name: '常规列表',
271
+ name: tr('常规列表'),
271
272
  type: 'list',
272
273
  param: listParam
273
274
  }, {
274
275
  id: 'table',
275
- name: '表格',
276
+ name: tr('表格'),
276
277
  type: 'table',
277
278
  param: tableParam
278
279
  }];
279
280
  // Sidebar 内容配置
280
281
  export var sidebarCtx = [{
281
- name: '基础组件',
282
+ name: tr('基础组件'),
282
283
  children: basicComps
283
284
  }, {
284
- name: '高级组件',
285
+ name: tr('高级组件'),
285
286
  children: complexComps
286
287
  }, {
287
- name: '布局组件',
288
+ name: tr('布局组件'),
288
289
  children: layoutComps
289
290
  }];
290
291
  export var dragItemType = 'fg-drag';
@@ -303,23 +304,23 @@ export var formSettingSchema = [{
303
304
  depend: {}
304
305
  },
305
306
  common: {
306
- label: '整体布局',
307
- placeholder: '默认布局(一行一列)',
307
+ label: tr('整体布局'),
308
+ placeholder: tr('默认布局(一行一列)'),
308
309
  depend: {}
309
310
  },
310
311
  enum: {
311
312
  value: [{
312
313
  key: 24,
313
- value: '一行一列'
314
+ value: tr('一行一列')
314
315
  }, {
315
316
  key: 12,
316
- value: '一行两列'
317
+ value: tr('一行两列')
317
318
  }, {
318
319
  key: 8,
319
- value: '一行三列'
320
+ value: tr('一行三列')
320
321
  }, {
321
322
  key: 6,
322
- value: '一行四列'
323
+ value: tr('一行四列')
323
324
  }],
324
325
  http: {}
325
326
  }
@@ -337,15 +338,15 @@ export var formSettingSchema = [{
337
338
  depend: {}
338
339
  },
339
340
  common: {
340
- label: '标签展示模式',
341
+ label: tr('标签展示模式'),
341
342
  depend: {}
342
343
  },
343
344
  enum: {
344
345
  value: [{
345
- value: '同行',
346
+ value: tr('同行'),
346
347
  key: 'horizontal'
347
348
  }, {
348
- value: '单独一行',
349
+ value: tr('单独一行'),
349
350
  key: 'vertical'
350
351
  }],
351
352
  type: 'checkbox',
@@ -365,8 +366,8 @@ export var formSettingSchema = [{
365
366
  depend: {}
366
367
  },
367
368
  common: {
368
- label: '标签宽度',
369
- help: '不填自适应默认宽度',
369
+ label: tr('标签宽度'),
370
+ help: tr('不填自适应默认宽度'),
370
371
  depend: {}
371
372
  }
372
373
  }
@@ -375,7 +376,7 @@ export var formSettingSchema = [{
375
376
  }];
376
377
  export var formSetting = {
377
378
  id: 'formSetting',
378
- name: '表单配置',
379
+ name: tr('表单配置'),
379
380
  type: 'form',
380
381
  param: {
381
382
  type: 'form',
@@ -2,9 +2,10 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  /*
3
3
  * @Author: wangxian
4
4
  * @Date: 2023-02-08 10:36:25
5
- * @LastEditTime: 2023-06-02 10:39:54
5
+ * @LastEditTime: 2024-04-17 10:42:02
6
6
  */
7
7
  import { DEFAULT_DATE_FORMAT } from '../../../comps/MetadataForm/DataCell/Input';
8
+ import { tr } from '../../../framework/locale';
8
9
  export var Rule = {
9
10
  common: {
10
11
  id: {
@@ -16,7 +17,7 @@ export var Rule = {
16
17
  refId: 'com.ronds.schema.default.Rule.Form',
17
18
  value: {
18
19
  label: 'ID',
19
- tooltip: '字段名称(仅支持英文)'
20
+ tooltip: tr('字段名称(仅支持英文)')
20
21
  }
21
22
  }]
22
23
  },
@@ -28,7 +29,7 @@ export var Rule = {
28
29
  type: 'ref',
29
30
  refId: 'com.ronds.schema.default.Rule.Form',
30
31
  value: {
31
- label: '标题'
32
+ label: tr('标题')
32
33
  }
33
34
  }]
34
35
  },
@@ -40,7 +41,7 @@ export var Rule = {
40
41
  type: 'ref',
41
42
  refId: 'com.ronds.schema.default.Rule.Form',
42
43
  value: {
43
- label: '标题颜色',
44
+ label: tr('标题颜色'),
44
45
  type: 'colorPicker'
45
46
  }
46
47
  }]
@@ -57,9 +58,9 @@ export var Rule = {
57
58
  depend: {}
58
59
  },
59
60
  common: {
60
- label: '组件布局',
61
- tooltip: '默认按照整体布局配置排布',
62
- help: '这里填写表单整体布局的倍数,最大一行'
61
+ label: tr('组件布局'),
62
+ tooltip: tr('默认按照整体布局配置排布'),
63
+ help: tr('这里填写表单整体布局的倍数,最大一行')
63
64
  }
64
65
  }
65
66
  }]
@@ -72,7 +73,7 @@ export var Rule = {
72
73
  type: 'ref',
73
74
  refId: 'com.ronds.schema.default.Rule.Form',
74
75
  value: {
75
- label: '默认值'
76
+ label: tr('默认值')
76
77
  }
77
78
  }]
78
79
  },
@@ -84,7 +85,7 @@ export var Rule = {
84
85
  type: 'ref',
85
86
  refId: 'com.ronds.schema.default.Rule.Form',
86
87
  value: {
87
- label: '帮助说明'
88
+ label: tr('帮助说明')
88
89
  }
89
90
  }]
90
91
  },
@@ -96,7 +97,7 @@ export var Rule = {
96
97
  type: 'ref',
97
98
  refId: 'com.ronds.schema.default.Rule.Form',
98
99
  value: {
99
- label: '提示说明'
100
+ label: tr('提示说明')
100
101
  }
101
102
  }]
102
103
  },
@@ -108,7 +109,7 @@ export var Rule = {
108
109
  type: 'ref',
109
110
  refId: 'com.ronds.schema.default.Rule.Form',
110
111
  value: {
111
- label: '默认文本'
112
+ label: tr('默认文本')
112
113
  }
113
114
  }]
114
115
  },
@@ -120,8 +121,8 @@ export var Rule = {
120
121
  type: 'ref',
121
122
  refId: 'com.ronds.schema.default.Rule.Form',
122
123
  value: {
123
- label: '是否换行',
124
- help: '后面字段另起一行'
124
+ label: tr('是否换行'),
125
+ help: tr('后面字段另起一行')
125
126
  }
126
127
  }]
127
128
  },
@@ -133,7 +134,7 @@ export var Rule = {
133
134
  type: 'ref',
134
135
  refId: 'com.ronds.schema.default.Rule.Form',
135
136
  value: {
136
- label: '是否必填'
137
+ label: tr('是否必填')
137
138
  }
138
139
  }]
139
140
  },
@@ -145,7 +146,7 @@ export var Rule = {
145
146
  type: 'ref',
146
147
  refId: 'com.ronds.schema.default.Rule.Form',
147
148
  value: {
148
- label: '是否禁用'
149
+ label: tr('是否禁用')
149
150
  }
150
151
  }]
151
152
  },
@@ -158,7 +159,7 @@ export var Rule = {
158
159
  refId: 'com.ronds.schema.default.Rule.Form',
159
160
  value: {
160
161
  common: {
161
- label: '是否隐藏'
162
+ label: tr('是否隐藏')
162
163
  },
163
164
  'common-en-US': {}
164
165
  }
@@ -176,7 +177,7 @@ export var Rule = {
176
177
  value: {
177
178
  text: {},
178
179
  common: {
179
- label: '隐藏'
180
+ label: tr('隐藏')
180
181
  },
181
182
  'common-en-US': {}
182
183
  }
@@ -192,7 +193,7 @@ export var Rule = {
192
193
  value: {
193
194
  text: {},
194
195
  common: {
195
- label: '显示',
196
+ label: tr('显示'),
196
197
  depend: {}
197
198
  },
198
199
  'common-en-US': {}
@@ -209,7 +210,7 @@ export var Rule = {
209
210
  value: {
210
211
  text: {},
211
212
  common: {
212
- label: '非必填',
213
+ label: tr('非必填'),
213
214
  depend: {}
214
215
  },
215
216
  'common-en-US': {}
@@ -226,7 +227,7 @@ export var Rule = {
226
227
  value: {
227
228
  text: {},
228
229
  common: {
229
- label: '只读',
230
+ label: tr('只读'),
230
231
  depend: {}
231
232
  },
232
233
  'common-en-US': {}
@@ -257,24 +258,24 @@ export var Rule = {
257
258
  enum: {
258
259
  value: [{
259
260
  key: 'textarea',
260
- value: '文本框'
261
+ value: tr('文本框')
261
262
  }, {
262
263
  key: 'password',
263
- value: '密码框'
264
+ value: tr('密码框')
264
265
  }, {
265
266
  key: 'datePicker',
266
- value: '日期选择框'
267
+ value: tr('日期选择框')
267
268
  }, {
268
269
  key: 'colorPicker',
269
- value: '颜色选择框'
270
+ value: tr('颜色选择框')
270
271
  }, {
271
272
  key: 'upload',
272
- value: '上传'
273
+ value: tr('上传')
273
274
  }]
274
275
  },
275
276
  text: {},
276
277
  common: {
277
- label: '类型'
278
+ label: tr('类型')
278
279
  }
279
280
  }
280
281
  }]
@@ -289,7 +290,7 @@ export var Rule = {
289
290
  value: {
290
291
  text: {},
291
292
  common: {
292
- label: '格式化',
293
+ label: tr('格式化'),
293
294
  help: "".concat(DEFAULT_DATE_FORMAT)
294
295
  },
295
296
  'common-en-US': {}
@@ -306,7 +307,7 @@ export var Rule = {
306
307
  value: {
307
308
  text: {},
308
309
  common: {
309
- label: '默认高度'
310
+ label: tr('默认高度')
310
311
  },
311
312
  'common-en-US': {}
312
313
  }
@@ -324,7 +325,7 @@ export var Rule = {
324
325
  value: {
325
326
  text: {},
326
327
  common: {
327
- label: '正则表达式'
328
+ label: tr('正则表达式')
328
329
  },
329
330
  'common-en-US': {}
330
331
  }
@@ -340,7 +341,7 @@ export var Rule = {
340
341
  value: {
341
342
  text: {},
342
343
  common: {
343
- label: '提示信息'
344
+ label: tr('提示信息')
344
345
  },
345
346
  'common-en-US': {}
346
347
  }
@@ -365,7 +366,7 @@ var Ref2Rule = {
365
366
  refId: 'com.ronds.schema.default.Rule.Form.Common',
366
367
  value: {
367
368
  common: {
368
- label: '枚举值'
369
+ label: tr('枚举值')
369
370
  },
370
371
  'common-en-US': {},
371
372
  array: {
@@ -398,8 +399,8 @@ var Ref2Rule = {
398
399
  refId: 'com.ronds.schema.default.Rule.Form',
399
400
  value: {
400
401
  common: {
401
- label: '动态枚举值',
402
- tooltip: '通过接口调用获取枚举值'
402
+ label: tr('动态枚举值'),
403
+ tooltip: tr('通过接口调用获取枚举值')
403
404
  },
404
405
  'common-en-US': {}
405
406
  }
@@ -418,7 +419,7 @@ var Ref2Rule = {
418
419
  value: {
419
420
  text: {},
420
421
  common: {
421
- label: '请求URL'
422
+ label: tr('请求URL')
422
423
  },
423
424
  'common-en-US': {}
424
425
  }
@@ -438,7 +439,7 @@ var Ref2Rule = {
438
439
  value: {
439
440
  text: {},
440
441
  common: {
441
- label: '请求方法',
442
+ label: tr('请求方法'),
442
443
  defaultValue: 'get'
443
444
  },
444
445
  'common-en-US': {}
@@ -456,8 +457,8 @@ var Ref2Rule = {
456
457
  type: 'textarea'
457
458
  },
458
459
  common: {
459
- label: 'Body参数',
460
- help: '支持Json字符串,系统会自动序列化',
460
+ label: tr('Body参数'),
461
+ help: tr('支持Json字符串,系统会自动序列化'),
461
462
  depend: {
462
463
  show: "method=='post'"
463
464
  }
@@ -475,7 +476,7 @@ var Ref2Rule = {
475
476
  value: {
476
477
  text: {},
477
478
  common: {
478
- label: 'Key的替换属性'
479
+ label: tr('Key的替换属性')
479
480
  },
480
481
  'common-en-US': {}
481
482
  }
@@ -490,7 +491,7 @@ var Ref2Rule = {
490
491
  value: {
491
492
  text: {},
492
493
  common: {
493
- label: 'Vaule的替换属性'
494
+ label: tr('Vaule的替换属性')
494
495
  },
495
496
  'common-en-US': {}
496
497
  }
@@ -505,8 +506,8 @@ var Ref2Rule = {
505
506
  value: {
506
507
  text: {},
507
508
  common: {
508
- label: '监听',
509
- help: '监听多个属性,用英文逗号隔开',
509
+ label: tr('监听'),
510
+ help: tr('监听多个属性,用英文逗号隔开'),
510
511
  placeholder: 'id,name'
511
512
  },
512
513
  'common-en-US': {}
@@ -530,7 +531,7 @@ export var RefRule = {
530
531
  refId: 'com.ronds.schema.default.Rule.Form',
531
532
  value: {
532
533
  common: {
533
- label: '列表联动'
534
+ label: tr('列表联动')
534
535
  },
535
536
  'common-en-US': {}
536
537
  }
@@ -557,7 +558,7 @@ export var RefRule = {
557
558
  value: {
558
559
  array: {},
559
560
  common: {
560
- label: '校验规则'
561
+ label: tr('校验规则')
561
562
  },
562
563
  'common-en-US': {}
563
564
  }
@@ -581,7 +582,7 @@ export var RefRule = {
581
582
  refId: 'com.ronds.schema.default.Rule.Form',
582
583
  value: {
583
584
  common: {
584
- label: '高级设置'
585
+ label: tr('高级设置')
585
586
  },
586
587
  'common-en-US': {}
587
588
  }
@@ -604,7 +605,7 @@ export var RefRule = {
604
605
  refId: 'com.ronds.schema.default.Rule.Form',
605
606
  value: {
606
607
  common: {
607
- label: '高级设置'
608
+ label: tr('高级设置')
608
609
  },
609
610
  'common-en-US': {}
610
611
  }
@@ -627,7 +628,7 @@ export var RefRule = {
627
628
  refId: 'com.ronds.schema.default.Rule.Form',
628
629
  value: {
629
630
  common: {
630
- label: '高级设置'
631
+ label: tr('高级设置')
631
632
  },
632
633
  ref: {
633
634
  titleHidden: true
@@ -11,7 +11,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
11
11
  /*
12
12
  * @Author: wangxian
13
13
  * @Date: 2021-09-18 14:15:04
14
- * @LastEditTime: 2024-03-20 13:39:47
14
+ * @LastEditTime: 2024-04-17 09:14:59
15
15
  */
16
16
  import React from 'react';
17
17
  import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons';
@@ -66,7 +66,7 @@ function Index(props) {
66
66
  className: "ant-form-item-label ant-form-item-label-wrap mt-1 "
67
67
  }, /*#__PURE__*/React.createElement("label", {
68
68
  className: "".concat((extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.require) && 'ant-form-item-required')
69
- }, extraInfo.label || fieldRule && ((_fieldRule$ = fieldRule[0]) === null || _fieldRule$ === void 0 ? void 0 : (_fieldRule$$value = _fieldRule$.value) === null || _fieldRule$$value === void 0 ? void 0 : _fieldRule$$value.label) || fieldRule && ((_fieldRule$2 = fieldRule[0]) === null || _fieldRule$2 === void 0 ? void 0 : (_fieldRule$2$value = _fieldRule$2.value) === null || _fieldRule$2$value === void 0 ? void 0 : _fieldRule$2$value.common.label) || id)), formContext.isShowTypeInfo && /*#__PURE__*/React.createElement("div", {
69
+ }, tr(extraInfo.label) || fieldRule && tr((_fieldRule$ = fieldRule[0]) === null || _fieldRule$ === void 0 ? void 0 : (_fieldRule$$value = _fieldRule$.value) === null || _fieldRule$$value === void 0 ? void 0 : _fieldRule$$value.label) || fieldRule && tr((_fieldRule$2 = fieldRule[0]) === null || _fieldRule$2 === void 0 ? void 0 : (_fieldRule$2$value = _fieldRule$2.value) === null || _fieldRule$2$value === void 0 ? void 0 : _fieldRule$2$value.common.label) || id)), formContext.isShowTypeInfo && /*#__PURE__*/React.createElement("div", {
70
70
  style: {
71
71
  padding: '0 6px',
72
72
  position: 'absolute',
@@ -74,7 +74,7 @@ function Index(props) {
74
74
  top: '19px',
75
75
  background: '#fff'
76
76
  }
77
- }, help || (items === null || items === void 0 ? void 0 : items.type)))), /*#__PURE__*/React.createElement(_Col, {
77
+ }, tr(help) || (items === null || items === void 0 ? void 0 : items.type)))), /*#__PURE__*/React.createElement(_Col, {
78
78
  flex: labelSpan && (formContext === null || formContext === void 0 ? void 0 : formContext.layout) === 'horizontal' ? "0 0 ".concat((24 - labelSpan) * 100 / 24, "%") : 1,
79
79
  style: {
80
80
  width: "".concat((24 - labelSpan) * 100 / 24, "%")
@@ -16,7 +16,7 @@ import _Input from "antd/es/input";
16
16
  /*
17
17
  * @Author: wangxian
18
18
  * @Date: 2021-09-18 14:15:04
19
- * @LastEditTime: 2024-04-16 16:20:05
19
+ * @LastEditTime: 2024-04-17 13:41:48
20
20
  */
21
21
  import React from 'react';
22
22
  import { UploadOutlined } from '@ant-design/icons';
@@ -179,7 +179,7 @@ function Index(props) {
179
179
  name: (extraInfo === null || extraInfo === void 0 ? void 0 : (_extraInfo$addonAfter6 = extraInfo.addonAfter) === null || _extraInfo$addonAfter6 === void 0 ? void 0 : _extraInfo$addonAfter6.key) ? [field === null || field === void 0 ? void 0 : field.name].concat(_toConsumableArray(name), ['value']) : [field === null || field === void 0 ? void 0 : field.name].concat(_toConsumableArray(name)),
180
180
  rules: [{
181
181
  required: notRequire ? !notRequire : extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.require,
182
- message: "".concat(tr('请输入')).concat(tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id)
182
+ message: "".concat(tr('请输入'), " ").concat(tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id)
183
183
  }].concat(_toConsumableArray(rules)),
184
184
  help: tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.help),
185
185
  tooltip: tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.tooltip)
@@ -213,7 +213,7 @@ function Index(props) {
213
213
  name: (extraInfo === null || extraInfo === void 0 ? void 0 : (_extraInfo$addonAfter7 = extraInfo.addonAfter) === null || _extraInfo$addonAfter7 === void 0 ? void 0 : _extraInfo$addonAfter7.key) ? [].concat(_toConsumableArray(name), ['value']) : name,
214
214
  rules: [{
215
215
  required: notRequire ? !notRequire : extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.require,
216
- message: "".concat(tr('请输入')).concat(tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id)
216
+ message: "".concat(tr('请输入'), " ").concat(tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.label) || id)
217
217
  }].concat(_toConsumableArray(rules)),
218
218
  help: tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.help),
219
219
  tooltip: tr(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.tooltip)