mooho-base-admin-plus 0.4.9 → 0.4.10

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "0.4.9",
4
+ "version": "0.4.10",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "dotnetVersion": "1.4.0",
7
7
  "license": "MIT",
@@ -71,7 +71,7 @@
71
71
  expression: {
72
72
  type: 'string',
73
73
  required: true,
74
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Expression')),
74
+ message: this.$t('Front_Msg_Please_Input'),
75
75
  trigger: 'blur,change'
76
76
  }
77
77
  }
@@ -830,14 +830,14 @@
830
830
  rules.push({
831
831
  pattern: /.+/,
832
832
  required: true,
833
- message: this.tParam('Front_Msg_Please_Input|' + this.getNameI18n(column)),
833
+ message: this.$t('Front_Msg_Please_Input'),
834
834
  trigger: this.getTrigger(column)
835
835
  });
836
836
  } else {
837
837
  rules.push({
838
838
  type: this.getDataType(column),
839
839
  required: true,
840
- message: this.tParam('Front_Msg_Please_Input|' + this.getNameI18n(column)),
840
+ message: this.$t('Front_Msg_Please_Input'),
841
841
  trigger: this.getTrigger(column)
842
842
  });
843
843
  }
@@ -847,7 +847,7 @@
847
847
  rules.push({
848
848
  type: this.getDataType(column),
849
849
  pattern: column.pattern,
850
- message: this.$t('Front_Msg_Validation_Pattern|' + this.getNameI18n(column)),
850
+ message: this.$t('Front_Msg_Validation_Pattern'),
851
851
  trigger: this.getTrigger(column)
852
852
  });
853
853
  }
@@ -856,7 +856,7 @@
856
856
  rules.push({
857
857
  type: this.getDataType(column),
858
858
  max: column.maxValue,
859
- message: this.$t('Front_Msg_Validation_Max_Value|' + this.getNameI18n(column) + '|' + column.maxValue),
859
+ message: this.$t('Front_Msg_Validation_Max_Value|' + column.maxValue),
860
860
  trigger: this.getTrigger(column)
861
861
  });
862
862
  }
@@ -865,7 +865,7 @@
865
865
  rules.push({
866
866
  type: this.getDataType(column),
867
867
  min: column.minValue,
868
- message: this.$t('Front_Msg_Validation_Min_Value|' + this.getNameI18n(column) + '|' + column.minValue),
868
+ message: this.$t('Front_Msg_Validation_Min_Value|' + column.minValue),
869
869
  trigger: this.getTrigger(column)
870
870
  });
871
871
  }
@@ -874,7 +874,7 @@
874
874
  rules.push({
875
875
  type: this.getDataType(column),
876
876
  length: column.maxLength,
877
- message: this.$t('Front_Msg_Validation_Max_Length|' + this.getNameI18n(column) + '|' + column.maxLength),
877
+ message: this.$t('Front_Msg_Validation_Max_Length|' + column.maxLength),
878
878
  trigger: this.getTrigger(column)
879
879
  });
880
880
  }
@@ -95,19 +95,19 @@
95
95
  oldPwd: {
96
96
  type: 'string',
97
97
  required: true,
98
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Old_Password')),
98
+ message: this.$t('Front_Msg_Please_Input'),
99
99
  trigger: 'blur,change'
100
100
  },
101
101
  newPwd: {
102
102
  type: 'string',
103
103
  required: true,
104
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_New_Password')),
104
+ message: this.$t('Front_Msg_Please_Input'),
105
105
  trigger: 'blur,change'
106
106
  },
107
107
  checkPwd: {
108
108
  type: 'string',
109
109
  required: true,
110
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Confirm_Password')),
110
+ message: this.$t('Front_Msg_Please_Input'),
111
111
  trigger: 'blur,change'
112
112
  }
113
113
  }
@@ -53,7 +53,7 @@
53
53
  prop="message"
54
54
  :rules="{
55
55
  required: true,
56
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Message_Content')),
56
+ message: this.$t('Front_Msg_Please_Input'),
57
57
  trigger: 'blur,change'
58
58
  }"
59
59
  >
@@ -216,43 +216,43 @@
216
216
  propertyName: {
217
217
  type: 'string',
218
218
  required: true,
219
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Property_Name')),
219
+ message: this.$t('Front_Msg_Please_Input'),
220
220
  trigger: 'blur'
221
221
  },
222
222
  propertyCode: {
223
223
  type: 'string',
224
224
  required: true,
225
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Property_Code')),
225
+ message: this.$t('Front_Msg_Please_Input'),
226
226
  trigger: 'blur'
227
227
  },
228
228
  dataType: {
229
229
  type: 'string',
230
230
  required: true,
231
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Data_Type')),
231
+ message: this.$t('Front_Msg_Please_Input'),
232
232
  trigger: 'blur'
233
233
  },
234
234
  controlType: {
235
235
  type: 'string',
236
236
  required: true,
237
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Control_Type')),
237
+ message: this.$t('Front_Msg_Please_Input'),
238
238
  trigger: 'blur'
239
239
  },
240
240
  source: {
241
241
  type: 'string',
242
242
  required: true,
243
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Data_Source')),
243
+ message: this.$t('Front_Msg_Please_Input'),
244
244
  trigger: 'blur'
245
245
  },
246
246
  sourceDataCode: {
247
247
  type: 'string',
248
248
  required: true,
249
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Source_Data_Code')),
249
+ message: this.$t('Front_Msg_Please_Input'),
250
250
  trigger: 'blur'
251
251
  },
252
252
  sourceDisplayCode: {
253
253
  type: 'string',
254
254
  required: true,
255
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Source_Display_Code')),
255
+ message: this.$t('Front_Msg_Please_Input'),
256
256
  trigger: 'blur'
257
257
  }
258
258
  };
@@ -269,13 +269,13 @@
269
269
  code: {
270
270
  type: 'string',
271
271
  required: true,
272
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Source_Display_Code')),
272
+ message: this.$t('Front_Msg_Please_Input'),
273
273
  trigger: 'blur,change'
274
274
  },
275
275
  val: {
276
276
  type: 'string',
277
277
  required: true,
278
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Value')),
278
+ message: this.$t('Front_Msg_Please_Input'),
279
279
  trigger: 'blur,change'
280
280
  }
281
281
  };
@@ -94,7 +94,7 @@
94
94
  prop="message"
95
95
  :rules="{
96
96
  required: true,
97
- message: this.tParam('Front_Msg_Please_Input|' + this.$t('Front_Label_Message_Content')),
97
+ message: this.$t('Front_Msg_Please_Input'),
98
98
  trigger: 'blur,change'
99
99
  }"
100
100
  >