types(Tabs): use tsx (#8187)

This commit is contained in:
neverland
2021-02-20 17:49:34 +08:00
committed by GitHub
parent 9ad0eafae0
commit 906f01cc8e
15 changed files with 106 additions and 61 deletions
+3 -1
View File
@@ -19,7 +19,9 @@ export default createComponent({
if (!parent) {
if (process.env.NODE_ENV !== 'production') {
console.error('[Vant] SwipeItem must be a child component of Swipe.');
console.error(
'[Vant] <SwipeItem> must be a child component of <Swipe>.'
);
}
return;
}