mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
simplify test config (#639)
This commit is contained in:
18
test/components/field.vue
Normal file
18
test/components/field.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<van-field :onIconClick="onIconClick" @blur="$emit('blur')">
|
||||
<div slot="icon">icon</div>
|
||||
</van-field>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Field from 'packages/field';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
[Field.name]: Field
|
||||
},
|
||||
|
||||
props: ['onIconClick']
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user