fix(TimePicker): correct error message for unsupported columns type (#13691)

This commit is contained in:
Phi
2025-11-29 20:29:28 +08:00
committed by GitHub
parent 545d4ba950
commit 965054515c
+1 -1
View File
@@ -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 [];