mirror of
https://github.com/youzan/vant.git
synced 2026-04-16 02:01:20 +08:00
[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -32,13 +32,11 @@ import CellGroup from '../cell-group';
|
||||
import Dialog from '../dialog';
|
||||
import Toast from '../toast';
|
||||
import validateMobile from '../utils/validate/mobile';
|
||||
import { i18n } from '../locale';
|
||||
import { create } from '../utils';
|
||||
|
||||
export default {
|
||||
export default create({
|
||||
name: 'van-contact-edit',
|
||||
|
||||
mixins: [i18n],
|
||||
|
||||
components: {
|
||||
Field,
|
||||
VanButton,
|
||||
@@ -122,5 +120,5 @@ export default {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user