这个错误信息意味着你的代码中使用了一个名为 'VanPopup' 的属性,但它在类型 '{ 'van-popup': ComponentPublicInstanceConstructor<{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ position: PopupPosition; round: boolean; safeAreaInsetBottom: boolean; ... 10 more ...; safeAreaInsetTop: boolean; }> & Omit<...>; ... 10 more ...; $watch(source: string | Function, cb: Function, options?: ...' 上不存在。

你可能想要使用 'van-popup' 而不是 'VanPopup'。检查你的代码中是否有任何笔误或拼写错误,并确保使用正确的属性名。

Vue 组件错误:属性 'VanPopup' 不存在

原文地址: https://www.cveoy.top/t/topic/nDBJ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录