本人尝试一下方式不会报错了: const { currentPage } = toRefs<any>(props); console.log(currentPage);. 或者给props 参数指定类型:
確定! 回上一頁