plh

Results 70 comments of plh

307 请求的临时重定向

> This is a `resolver` that automatically loads modules under a specific directory 👉 [vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers) > > 这是一个按需自动加载特定目录下模块的 `resolver` 👉 [vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers) I want to use react+vite+[vite-auto-import-resolvers](https://github.com/dishait/vite-auto-import-resolvers), but Vite seems not...

....这个不是早就有解决方案了嘛. Math.round就已经解决了延误问题. 延误时差往往在4ms左右, 直接Math.round 就改成1秒整就行. 通过对比上一秒和下一秒时间戳差值.

promise 是另一个线程么,类似于setTimeout线程

![image](https://user-images.githubusercontent.com/14355994/38171563-8db30724-35ce-11e8-8acf-536ec8c1e1e0.png)

https://chat.pipk.top 和我这个用的技术栈简直一摸一样

我也遇到了这个问题, 原本我猜就是跨域请求代理不过去.