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

This commit is contained in:
vdpAdmin 2022-06-30 12:21:57 +08:00
parent e04ba65186
commit 44b2423eb1
3 changed files with 10 additions and 2 deletions

View File

@ -128,7 +128,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

@ -108,7 +108,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

@ -750,8 +750,10 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
disabled: false,
hidden: false,
required: false,
@ -793,8 +795,10 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
disabled: false,
hidden: false,
required: false,
@ -835,9 +839,11 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
placeholder: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
contentHeight: '200px',
disabled: false,
hidden: false,
@ -867,11 +873,13 @@ export const advancedFields = [
options: {
name: '',
label: '',
labelAlign: '',
defaultValue: '',
placeholder: '',
size: '',
labelWidth: null,
labelHidden: false,
columnWidth: '200px',
disabled: false,
hidden: false,
clearable: true,