V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  treemonster  ›  全部回复第 3 页 / 共 3 页
回复总数  50
1  2  3  
@fiveelementgid google 的怕打不开
@AntoniotheFuture 没用引擎,全原生写的,hbuilder 打包的 js 游戏
@xranapp 我用的是招商 visa 卡其他不确定,审核过了就可以传了
@hlobo 。。。
2020 年 6 月 6 日
回复了 pinkSlime 创建的主题 问与答 Typescript 香吗?
ts 是为 kpi 而生的,明白这点就好
2020 年 6 月 1 日
回复了 xiaoming1992 创建的主题 JavaScript 一道字节面试题解
class Chain{
task=Promise.resolve()
eat() {
this.task=this.task.then(_=>console.log('eat'))
return this
}
work() {
this.task=this.task.then(_=>console.log('work'))
return this
}
sleep(t) {
this.task=this.task.then(_=>new Promise(r=>{
console.log('sleep', t)
setTimeout(r, t)
}))
return this
}
}

promise 写很简单
复杂的交互是做不了的,taro 框架封装的组件提供接口非常鸡肋
1  2  3  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1603 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 16:32 · PVG 00:32 · LAX 09:32 · JFK 12:32
♥ Do have faith in what you're doing.