摘要:
formData 为array 单用let obj = Object.assign({}, formData); vue浅拷贝 数组不适用,源一样会被更新 需要使用深拷贝 正确用法 const copyformdat=()=>{ let array = [] for(let item of form 阅读全文
摘要:
sudo lsof -i tcp:xxx 阅读全文
摘要:
https://blog.csdn.net/qq_37700257/article/details/126284196 阅读全文
摘要:
python3 -m venv test_env source ./test_env/bin/activatewindows .\test_env\Scripts\Activate.ps1 阅读全文
摘要:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
摘要:
Win11系统(专业版)激活教程 - 知乎 (zhihu.com) 阅读全文
摘要:
pip 清华大学开源软件镜像站 使用国内镜像速度会快很多: 临时使用: 版本直接== pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package==x.x.x 清华:https://pypi.tuna.tsinghua.e 阅读全文
摘要:
对于线程池核心线程的设置主要参考业务是cpu密集型还是I/O密集型 cpu密集型:cpu数+1 多一个可以充分使用cpu的空闲时间 io密集型:cpu核数*2 因为i/o不会占用cpu来处理,可以将cpu交出给其他线程使用 阅读全文
摘要:
kafka配置 引入pom <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> <version>2.8.5</version></dependency> 自动 阅读全文
摘要:
注解方法 @Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class) 阅读全文