12 2022 档案
摘要:如何关闭 Office 盗版提示弹窗? 解决方法如下: 步骤 1. 使用激活软件,激活 Office 步骤 2. 打开 Office,文件->底部找到账户->管理设置->去掉所有勾选 步骤 3. 重启 Office,然后关闭 步骤 4. 在账户里点击更改产品秘钥,粘贴激活码即可 2019 版本:GR
阅读全文
摘要:1、命令行临时使用指定镜像(淘宝) npm --registry https://registry.npm.taobao.org install express 复制 2、命令行永久更改使用指定镜像(淘宝) npm config set registry https://registry.npm.t
阅读全文
摘要:1、需要提前安装 git 和 gawk windows环境下安装 gawk http://sourceforge.net/projects/gnuwin32/files/gawk/3.1.6-1/gawk-3.1.6-1-bin.zip/download 解压后将bin添加到环境变量。运行命令gaw
阅读全文
摘要:// const memo= useMemo(()=>{ // console.log(infoImagesList) // return <UploadImages imageType={'INFO'} fileList={infoImagesList}> // },[infoImagesList
阅读全文
摘要:Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, ca
阅读全文
摘要:进入C:\Windows\System32\drivers\etc 复制host文件 最有一行添加: # 谷歌翻译路由 142.250.4.90 translate.googleapis.com 覆盖host文件 cmd ipconfig /flushdns 重启浏览器 SwitchHosts 官网
阅读全文
摘要:Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1.
阅读全文
摘要:import React,{useState,useEffect} from 'react'; export const useStateHooks=(val:any)=>{ let [value,setValue]=useState(val); const setFunc=(v:any)=>{ s
阅读全文