fix(TimePicker): correct error message for unsupported columns type (#13691)
This commit is contained in:
@@ -153,7 +153,7 @@ export default defineComponent({
|
|||||||
default:
|
default:
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
if (process.env.NODE_ENV !== 'production') {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`[Vant] DatePicker: unsupported columns type: ${type}`,
|
`[Vant] TimePicker: unsupported columns type: ${type}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
Reference in New Issue
Block a user