prprprPro

Results 5 comments of prprprPro

想了一个不是很优雅的解决方案,给cardSwipe组件加一个manualStyle参数,然后添加一个manualSwipe函数: ``` manualSwipe(direction) { const coff = direction === 'right' ? 1 : -1 //宽度不加100的话划出去的卡片会卡在边缘,这个可以根据实际情况适配 this.setData({ manualStyle: "transform: translate3d(" + coff * (this.data.contextWidth + 100) + "px, 0, " +...

今天好像恢复了,再观察一下

打开网站监控页面,默认的日期是10/28-10/28,即当日-当日,数据如下: 但这些数据不是今天的数据,修改一下日期范围就可以看到(我就截前两行把,看数字就行) 今天的: 这个月的: 日期选择框范围与数据的加载范围不一致,希望初始的日期框能够明确一下加载的是哪个范围的数据

In Nuxt4, each time I use `useDatabase()` returns the same instance, and I cannot find an elegant way to auto-reconnect. Tried ``` const db = useDatabase(); const client = await...

> Thanks for issue. We should introduce a way to allow reconnecting instances indeed. Thanks a lot. I will use a proxy for now. Looking forward to the update.