no message

Former-commit-id: 34bfc333be64a3f8f774f49a571be0db887098b1
Former-commit-id: 31b3d27fe5719fea3583f80f1498cd19b214b644
Former-commit-id: 1e07d94e6e1a349f538703ea6a5b04b2b65d1ac6
This commit is contained in:
李杨
2018-02-17 22:30:49 +08:00
parent 54450481e2
commit 5c2055d113
4 changed files with 34 additions and 14 deletions

7
src/utils/sleep.js Normal file
View File

@@ -0,0 +1,7 @@
export default async (time = 0) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve()
}, time)
})
}