yaowangmx

Results 15 comments of yaowangmx

vue版本的还没有出来吗?

> > 监听路由变化 > > 监听路由变化,好像只是监听从哪个页面跳转过来(to, from),同一个页面的话是不是得每次都缓存前一次的路由参数,然后对比当前的路由看参数有没有变化?还是有更优雅的实现方案吗? watch: { $route: { handler(newRoute, oldRoute) { console.log(newRoute, oldRoute) }, deep: true, immediate: true, }, } 参数变化也能监听到吧,打印一下不就知道了

> 您好,请问您解决了吗? watch: { $route: { handler(newRoute, oldRoute) { console.log(newRoute, oldRoute) if (newRoute.query.id && newRoute.query.id !== this.form.id) { this.$refreshPage(this.$route) } }, deep: true, }, }

I also encountered this issue, but the example at https://codesandbox.io/s/virtualized-sortable-450ii can't be accessed anymore. Could you please repost the solution?

在线Demo 无法查看 +3

> did you follow all the instructions correctly Yes. Could you provide a complete example of nuxt3+useOneTap?

> @yaowangmx how do you fixed? I gave up this plugin and switched to using it instead [email protected]

> vue3-google-login 咦,遇到老乡了:https://www.npmjs.com/package/vue3-google-login

我试了上面的方案都不行,然后对照着官网将只能客户端渲染的组件用ClientOnly>包起来不报错了,只是这样子体验不好