This commit is contained in:
zhutianqi
2022-01-05 15:48:25 +08:00
parent 6c595a47c4
commit 4c30063404
2 changed files with 67 additions and 45 deletions
@@ -164,6 +164,9 @@
labelWidth: {
type: String,
default: '150px'
},
placeholderText: {
type: String
}
},
data () {
@@ -193,7 +196,7 @@
},
computed: {
placeholder () {
return `请输入${this.config.attrName}`
return `${this.placeholderText}`
},
showMessage () {
return `${this.config.attrName}不能为空`