summer-wu
summer-wu
I find corepack is storing cache at `~/.node/corepack`. Maybe you can delete them manually. 
你试试修改`yLabel.lineBreakMode = NSLineBreakByCharWrapping;`能不能搞定。 用`layout.textBoundingSize`获得size,设置给yLabel,在emoji多的时候会时会显示...,改成charWrapp就没有三个点了。这是我刚刚试出来的,不确定真的能解决问题。 ``` CGSize containerSize = CGSizeMake(size.width, CGFLOAT_MAX); YYTextLayout *layout = [YYTextLayout layoutWithContainerSize:containerSize text:comment]; CGSize s = layout.textBoundingSize yLabel.size = s; yLabel.attributedString = as;//有时label末尾会出现... yLabel.lineBreakMode = NSLineBreakByCharWrapping;//加上这行就没有三个点了 ```
The bug demo: https://user-images.githubusercontent.com/2476434/162385534-09fc7a88-113b-4f64-b0b6-11d4357a73a0.mp4 The bug fix demo: https://user-images.githubusercontent.com/2476434/162385558-8be6b588-39dc-45e4-a58f-6aa907492aab.mp4
看来弃坑了,一年了都没有人跟进
我加上了,可以看我的仓库 [https://github.com/summer-wu/react-native-baidu-map](url)
我改了下,可以看我的代码 [https://github.com/summer-wu/react-native-baidu-map](url)
@tkchk I found the same bug, and submitted a PR #1644
Close it in favor of #542
I encountered this bug,too! My solution is to calling method instead of reading variable. Change all `this.btnsRightWidth` to `this.get_btnsRightWidth()`,and add the following method ``` function get_btnsRightWidth(){ return this.right ? this.right.offsetWidth...
亲测可用!我的日本主机,以前ss协议能走,就是偶尔抽风,今天ss协议不能走了(443端口能走http协议、ss走不了)!尝试下simple-obfs,真的很厉害,可以让流量看起来像http(用wireshark抓包可以看出来)。 下面是我的配置,用变量做的尽可能好理解一些: ``` # server OBFS_SERVER_PORT=443 OBFS_METHOD=http REMOTE_DESTINATION=127.0.0.1:8443 #ss obfs-server -v -s 0.0.0.0 -p $OBFS_SERVER_PORT --obfs $OBFS_METHOD -r $REMOTE_DESTINATION # client OBFS_SERVER_PORT=443 OBFS_SERVER_IP=vu2 OBFS_METHOD=http OBFS_LOCAL_LISTEN_PORT=1081 OBFS_LOCAL_PRETEND_HOST=www.bing.com #伪装成bing obfs-local -v -s...