mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Improvement] add AddressEdit test cases (#1083)
This commit is contained in:
@@ -75,6 +75,7 @@ export default create({
|
||||
this.$emit('focus', e);
|
||||
|
||||
const { root } = this.$refs;
|
||||
/* istanbul ignore if */
|
||||
if (root && root.scrollIntoView) {
|
||||
root.scrollIntoView();
|
||||
}
|
||||
@@ -99,10 +100,6 @@ export default create({
|
||||
onSelect(express) {
|
||||
this.$emit('input', `${express.address || ''} ${express.name || ''}`.trim());
|
||||
this.$emit('select-search', express);
|
||||
},
|
||||
|
||||
isString(str) {
|
||||
return typeof str === 'string';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user