摘要:
<html> <meta http-equiv="refresh" content="60"> <body> 百度 <iframe style="height: 90%;width: 100%;" src="https://www.baidu.com/"></iframe> </body> </ht 阅读全文
摘要:
//Program.cs 中注册builder.Services.AddMemoryCache();//缓存 https://learn.microsoft.com/zh-cn/dotnet/core/extensions/caching#in-memory-caching 阅读全文
摘要:
//Program.cs里面使用// global cors policy app.UseCors(x => x .AllowAnyMethod() .AllowAnyHeader() .SetIsOriginAllowed(origin => true) // allow any origin . 阅读全文
摘要:
1、npm 安装插件 npm install -S uuid 2、生成随机字符串import { v4 as uuidv4 } from 'uuid' 3、用uuidv4()获取随机生成的字符串 sign.value = uuidv4(); 阅读全文
摘要:
yarn upgrade 阅读全文
摘要:
解决方式一: tsconfig.json里添加 "forceConsistentCasingInFileNames":false 解决方式二:https://github.com/ant-design/pro-components/issues/6592#issuecomment-150135654 阅读全文
摘要:
var list = new List<string>(); for (int i = 0; i < 12; i++) { list.Add($@"{DateTime.Today.AddHours(DateTime.Now.Hour - i)}:00"); } 阅读全文
摘要:
display: flex; justify-content: center; align-items: center; 阅读全文