types(Tabs): use tsx (#8187)
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ export default createComponent({
|
||||
|
||||
if (!parent) {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
console.error('[Vant] Step must be a child component of Steps.');
|
||||
console.error('[Vant] <Step> must be a child component of <Steps>.');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user