zhangdroid's recent timeline updates
zhangdroid's repos on GitHub
JavaScript · 514 watchers
Gokotta
A simple music player built by electron and vue
JavaScript · 48 watchers
CSS-Matrix3d
CSS 3D Matrix transformation
4 watchers
FE-learning
前辈们总结的前端入门方法~
JavaScript · 4 watchers
hiraeth
A camera progressive web app
CSS · 3 watchers
Nefelibata
Another mardown editor
JavaScript · 2 watchers
ricebook
TypeScript · 2 watchers
test-fullstack
JavaScript · 1 watchers
blog3
JavaScript · 1 watchers
ci-demo-npm
Bare-bones example of how to create a library using Rollup
C++ · 1 watchers
electron
Build cross platform desktop apps with JavaScript, HTML, and CSS
TypeScript · 1 watchers
emu-old
CSS · 1 watchers
flutter.cn
Flutter CN docs translation plan, get started from the wiki: https://github.com/cfug/flutter.cn/wiki
1 watchers
gold-miner
掘金翻译计划,翻译掘金上优质的英文文章
JavaScript · 1 watchers
leetcode-js
Zhangdroid's javascript solutions for Leetcode problems
JavaScript · 1 watchers
particles.js
A lightweight JavaScript library for creating particles
JavaScript · 1 watchers
react
A declarative, efficient, and flexible JavaScript library for building user interfaces.
1 watchers
react-native-alipay
Alipay SDK for React Native. Support RN >= 0.47.
JavaScript · 1 watchers
react-styleguidist
Isolated React component development environment with a living style guide
JavaScript · 1 watchers
test-action
1 watchers
test-icons
JavaScript · 1 watchers
umi
🌋 Pluggable enterprise-level react application framework.
1 watchers
umi-plugin-qiankun
Umi plugin for qiankun.
1 watchers
vanilla-extract
Zero-runtime Stylesheets-in-TypeScript
JavaScript · 1 watchers
vue-loader
Webpack loader for Vue.js components
JavaScript · 1 watchers
vuex
Flux-inspired Application Architecture for Vue.js.
JavaScript · 1 watchers
waterfall-layout
JavaScript · 1 watchers
webpack-flush-chunks
💩 server-to-client chunk discovery + transportation for Universal Rendering
Python · 1 watchers
wooyun_public
乌云公开漏洞、知识库爬虫和搜索 crawl and search for wooyun.org public bug(vulnerability) and drops
1 watchers
y-translation
阅文集团前端翻译项目
1 watchers
Zhangdroid
JavaScript · 1 watchers
Zhangdroid.github.io
JavaScript · 0 watchers
ng2048
2048 demo
zhangdroid

zhangdroid

V2EX member #69691, joined on 2014-08-03 11:04:45 +08:00
Today's activity rank 26577
Per zhangdroid's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
zhangdroid's recent replies
可以看看这个 issue: https://github.com/microsoft/TypeScript/issues/39556

这样就可以 work 了:

```ts
interface Elements {
div: { id: number; name?: string; color: string; x: string }
a: { id: number; name?: string; href: string; x: string }
}

declare function getProps<T extends Record<any, any>>(obj: T, keys: (keyof T)[]): void

type SimpleUnionOmit<T, K extends string | number | symbol> = T extends unknown ? Omit<T, K> : never

function Foo<T extends 'div' | 'a'>(tag: T, props: SimpleUnionOmit<Elements[T], 'x'>) {
getProps(props, ['id'])
}
```
如果是全屏模式下点不了, 那应该是 Chrome 本身的 bug, 我也遇到了

https://support.google.com/chrome/thread/240103769?hl=en&sjid=4273300330615104886-NA
append 的代码应该是可以得到预期的结果的, 有问题的话有可能是 Todo 这个组件有问题, 比如用了 memo/shouldComponentUpdate
@czsas 我也在望京,好多年没打了突然也想打,有时间可约,微信 ejk1MDgwMw==
Jun 17, 2021
Replied to a topic by Herz 北京 周六日不加班的你们都做什么,组个团?
想打乒乓球,有人一起吗?坐标望京南
支持~作为已经入职的同学欢迎大家加入我们,一起来做有意思的事情👏
早上试了下,Wallet 和上海交通卡 APP 都不显示余额和交易记录,也没法完成实名认证(会弹一个空对话框)

刷的时候会显示 Try Again...但能正常进出站...

Aug 22, 2017
Replied to a topic by happiness Google 分享个微信 WeChat Out 礼物卡
Aug 18, 2017
Replied to a topic by solidusex iPhone sPlayer 邀请内测用户
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3306 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 10:56 · PVG 18:56 · LAX 03:56 · JFK 06:56
♥ Do have faith in what you're doing.