这个错误信息意味着在你的代码中使用了一个名为“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”。检查你的代码中是否有任何笔误或拼写错误,并确保使用正确的属性名。

属性VanPopup在类型 van-popup ComponentPublicInstanceConstructor $ ComponentInternalInstance; $data ; $props Partial position PopupPosition; round boolean; safeAreaInsetBottom boolean; 10 more ; safeAreaIn

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

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