mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix warning when run test cases
This commit is contained in:
parent
9fe0831e6d
commit
de5c6a5780
@ -96,9 +96,6 @@ export function wrapper(promise, name) {
|
|||||||
Locale.add(formattedI18n);
|
Locale.add(formattedI18n);
|
||||||
}
|
}
|
||||||
|
|
||||||
component.props = component.props || {};
|
|
||||||
component.props.weapp = Boolean;
|
|
||||||
|
|
||||||
return component;
|
return component;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
<demo-block
|
<demo-block
|
||||||
v-if="!weapp"
|
v-if="!$attrs.weapp"
|
||||||
:title="$t('title3')"
|
:title="$t('title3')"
|
||||||
>
|
>
|
||||||
<van-row type="flex">
|
<van-row type="flex">
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
<demo-block
|
<demo-block
|
||||||
v-if="!weapp"
|
v-if="!$attrs.weapp"
|
||||||
:title="$t('halfStar')"
|
:title="$t('halfStar')"
|
||||||
>
|
>
|
||||||
<van-rate
|
<van-rate
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
<demo-block
|
<demo-block
|
||||||
v-if="!weapp"
|
v-if="!$attrs.weapp"
|
||||||
:title="$t('vertical')"
|
:title="$t('vertical')"
|
||||||
>
|
>
|
||||||
<div :style="{ height: '120px', paddingLeft: '30px' }">
|
<div :style="{ height: '120px', paddingLeft: '30px' }">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user