V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  tobemaster  ›  全部回复第 7 页 / 共 7 页
回复总数  136
1  2  3  4  5  6  7  
2022-11-30 13:50:49 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@wowodavid 关闭 sip 这个操作有点危险,我没试过这么操作过,需要关闭 sip 才能使用的软件,我一般不用
2022-11-30 13:49:03 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@wowodavid 我的说法有点误导,我想表达的是,我之前启用了系统自带的简体双拼后,后面又在输入法列表中删除了,不是真正的从系统中彻底删除输入法,只是不使用了而已
2022-11-30 09:41:25 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@wowodavid 同道众人,🤝
2022-11-30 09:32:57 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@Henrybsbhp 杀死中文输入法进程,试一下,打开终端,执行

kill `pgrep SCIM`
2022-11-30 09:30:08 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@Henrybsbhp 某些软件在 M1 的平台上确实有问题,可以看我这篇文章,当时被折磨的很难受

https://medium.com/@tobemaster/macos%E7%B3%BB%E7%BB%9F%E5%83%8F%E6%98%AF%E8%A2%AB%E5%86%BB%E7%BB%93%E4%BA%86%E4%B8%80%E6%A0%B7-4de55befbe82
2022-11-30 09:27:34 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@xell 感谢补充
2022-11-30 09:26:48 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@cgcs 我刚买的 Mac studio 不久,升级了大版本就遇到了,换机解决,普通人不容易做到
2022-11-30 09:24:48 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@summersun2021 好运气,不过从长远来看,多经历几个大版本升级,或者使用外置显示器,遇到的概率会增加
2022-11-30 09:21:39 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@SEVLT 感谢,我补充一下
2022-11-30 09:21:20 +08:00
回复了 tobemaster 创建的主题 Apple 总结贴,解决 Mac 中文输入法卡顿
@cubecube 你说的对,造成这个问题的原因,非单一因素,所以也很难彻底解决,我也只是总结总结前人经验,我自己的经验,肯定不代表所有人
2022-11-22 13:51:32 +08:00
回复了 lxxself 创建的主题 macOS M1 Ventura 13.0 界面崩溃
@lxxself 我观察了一段时间,关闭了那两个选项,并且应用不开全屏,到现在已经没遇到那个问题了
2022-11-15 13:22:10 +08:00
回复了 neilyoone 创建的主题 Apple Mac OS 13.0 Ventura 爆内存?
https://www.jianshu.com/p/ec2729d485a8

尝试一下这篇文章里的办法,试试看,看看是不是‘简体中文输入方式’的锅
2022-11-15 12:47:50 +08:00
回复了 lxxself 创建的主题 macOS M1 Ventura 13.0 界面崩溃
https://github.com/tobemaster56/draft/issues/108 ,我记录跟踪了一下情况
2022-11-15 12:44:33 +08:00
回复了 lxxself 创建的主题 macOS M1 Ventura 13.0 界面崩溃
我也遇到了一样的问题,我每次都是点击 dock 的图标切换 app 时,崩溃的,我自己建了一个 issue 跟踪这个事情
2022-01-10 18:43:43 +08:00
回复了 tobemaster 创建的主题 TypeScript ts 中,访问对象的属性,如何获得更准确的类型
@chouchoui 正常工作,谢谢
2022-01-10 18:43:22 +08:00
回复了 tobemaster 创建的主题 TypeScript ts 中,访问对象的属性,如何获得更准确的类型
@wunonglin 这里是被我简化了,我的场景是获取 React 的 context 的值, 参考 2 楼的回答,已经解决了

```
import * as React from 'react';
import { ConfigConsumerProps, ConfigContext } from '../ConfigContext';

type ConfigConsumerKeys = keyof ConfigConsumerProps;

type ConfigType = Exclude<
ConfigConsumerKeys,
'rootPrefixCls' | 'iconPrefixCls' | 'locale' | 'theme'
>;

export function useComponentConfig(): ConfigConsumerProps;
export function useComponentConfig<T extends ConfigType>(
type: T
): ConfigConsumerProps[T];

export function useComponentConfig<T extends ConfigType = ConfigType>(
configType?: T
): ConfigConsumerProps[T] | ConfigConsumerProps {
const config = React.useContext(ConfigContext);
if (configType) {
return config[configType];
}
return config;
}
```
1  2  3  4  5  6  7  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1150 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 18:22 · PVG 02:22 · LAX 11:22 · JFK 14:22
Developed with CodeLauncher
♥ Do have faith in what you're doing.