[bugfix] AddressEdit: string trim (#1487)

This commit is contained in:
neverland
2018-07-14 18:17:17 +08:00
committed by GitHub
parent 85cf31e8bd
commit 4e52fd0a1c

View File

@@ -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) {