mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] AddressEdit: string trim (#1487)
This commit is contained in:
parent
85cf31e8bd
commit
4e52fd0a1c
@ -244,7 +244,7 @@ export default create({
|
||||
},
|
||||
|
||||
getErrorMessage(key) {
|
||||
const value = this.data[key].trim();
|
||||
const value = String(this.data[key]).trim();
|
||||
const { $t } = this;
|
||||
|
||||
switch (key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user