commit
This commit is contained in:
@@ -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}不能为空`
|
||||
|
||||
Reference in New Issue
Block a user