mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -28,7 +28,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
import { create } from '../utils';
|
||||
|
||||
export default create({
|
||||
name: 'van-number-keyboard',
|
||||
|
||||
props: {
|
||||
@@ -131,5 +133,5 @@ export default {
|
||||
this.$emit(this.show ? 'show' : 'hide');
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user