补充高级字段组件遗漏的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: { methods: {
handleFileExceed() { handleFileExceed() {
let uploadLimit = this.field.options.limit /* 此行不能注释下一行ES6模板字符串需要用到 */ 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) { updateUploadFieldModelAndEmitDataChange(fileList) {

View File

@ -108,7 +108,7 @@
methods: { methods: {
handlePictureExceed() { handlePictureExceed() {
let uploadLimit = this.field.options.limit /* 此行不能注释下一行ES6模板字符串需要用到 */ 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) { updateUploadFieldModelAndEmitDataChange(fileList) {

View File

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