Closed webarn closed 4 months ago
uni-drawer也报错,和上面的错误一样
没问题呀~
推荐使用 vue3+setup 语法
<script lang="ts" setup>
const popup = ref()
const open = () => {
popup.value?.open()
}
</script>
@codercup 找到问题了,如果使用 http://localhost:9000/
必现,如果使用ip就正常使用。最终排查非best的原因,是因为 广告拦截软件把:http://localhost:9000/node_modules/.pnpm/@dcloudio+uni-ui@1.5.0/node_modules/@dcloudio/uni-ui/lib/uni-popup/keypress.js?v=3a0ce4b7当做广告拦截了。谢谢大佬的回复
问题2: http://localhost:9000/#/pages/demo/route-interceptor/login-model?name=feige&age=30 这个页面也报错,
上面代码都是执行
pnpm create unibest my-project -t demo
后得到的代码,无修改