We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译平台 pnpm
VUE版本 vue3
运行平台 微信小程序
z-paging版本 2.7.10
问题描述 在微信小程序开发者工具中,勾选 js 转es5,执行 reload方法 , 出现 TypeError: "d" is read-only 错误,取消 js 转 es5 就不会出错
The text was updated successfully, but these errors were encountered:
生成器函数的问题,暂时可以先使用.then可以解决。
使用
function handleQueryList(pageNo) { getGoodsList({ page: pageNo }).then(({ items }) => { pagingRef.value.complete(items) }) }
而不是
async function handleQueryList(pageNo) { const {items} = await getGoodsList({ page: pageNo }) pagingRef.value.complete(items) }
Sorry, something went wrong.
我出现了 TypeError: "t" is read-only
TypeError: "t" is read-only
No branches or pull requests
编译平台
pnpm
VUE版本
vue3
运行平台
微信小程序
z-paging版本
2.7.10
问题描述
在微信小程序开发者工具中,勾选 js 转es5,执行 reload方法 , 出现 TypeError: "d" is read-only 错误,取消 js 转 es5 就不会出错
The text was updated successfully, but these errors were encountered: