mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
chore: remove redundant code (#5004)
This commit is contained in:
parent
aee1091c5c
commit
9ee9b2ef38
@ -80,8 +80,6 @@ Locale.add({
|
||||
|
||||
export function demoWrapper(module, name) {
|
||||
const component = module.default;
|
||||
name = 'demo-' + name;
|
||||
component.name = name;
|
||||
|
||||
const { i18n: config } = component;
|
||||
if (config) {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import Vue from 'vue';
|
||||
import './transition';
|
||||
import { mount, TransitionStub } from '@vue/test-utils';
|
||||
import { trigger, triggerDrag } from './event';
|
||||
import { mockScrollTop, mockGetBoundingClientRect } from './dom';
|
||||
|
@ -1,4 +0,0 @@
|
||||
import Vue from 'vue';
|
||||
import { TransitionStub } from '@vue/test-utils';
|
||||
|
||||
Vue.component('transition', TransitionStub as any);
|
Loading…
x
Reference in New Issue
Block a user