补充高级字段组件遗漏的labelAlign属性。

master
vdpAdmin 2022-06-30 12:20:26 +08:00
parent 531866d1c1
commit dd801e871d
3 changed files with 6 additions and 2 deletions

View File

@ -121,7 +121,7 @@
methods: {
handleFileExceed() {
let uploadLimit = this.field.options.limit /* 此行不能注释下一行ES6模板字符串需要用到 */
this.$message.warning(eval('`' + this.i18nt('render.hint.uploadExceed') + '`'));
this.$message.warning( this.i18nt('render.hint.uploadExceed').replace('${uploadLimit}', uploadLimit) )
},
updateUploadFieldModelAndEmitDataChange(fileList) {

View File

@ -107,7 +107,7 @@
methods: {
handlePictureExceed() {
let uploadLimit = this.field.options.limit /* 此行不能注释下一行ES6模板字符串需要用到 */
this.$message.warning(eval('`' + this.i18nt('render.hint.uploadExceed') + '`'));
this.$message.warning( this.i18nt('render.hint.uploadExceed').replace('${uploadLimit}', uploadLimit) )
},
updateUploadFieldModelAndEmitDataChange(fileList) {

View File

@ -747,6 +747,7 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
@ -791,6 +792,7 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
@ -834,6 +836,7 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
placeholder: '',
labelWidth: null,
labelHidden: false,
@ -866,6 +869,7 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
defaultValue: '',
placeholder: '',
size: '',