摘要: 将item[0]改为elem[0] 解决 今天使用layui 拖动上传 加进度条就报错,如果先点击上传在拖动上传就没问题,在箭头处拖动上传没有item[0] 这东西. 点击上传的话会到这里,后面运行就有item。 阅读全文
posted @ 2021-03-08 16:06 孤海飞雁 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1 AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); 最后 ConfigurationBuilder 添加addjson的信息,存到集合 IList<IConfigurationSource>里 2 buil 阅读全文
posted @ 2024-03-28 18:01 孤海飞雁 阅读(1) 评论(0) 推荐(0) 编辑
摘要: F:\SourceCode\Net\Net8\runtime\docs\workflow\building\libraries\ 文件看下编译命令 F:\SourceCode\Net\Net8\runtime\docs\workflow\requirements\查看编译所需文件 build.cmd 阅读全文
posted @ 2024-03-24 18:48 孤海飞雁 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 定义要监听的对象,里面添加监听对象名称和方法和参数。定义定时执行,获取上下文通过grpc 传送到 客户端 继承IObserver<DiagnosticListener> 在OnNext(DiagnosticListener listener) 方法里获构造函数注入的监听对象 然后遍历取出数据生成新对 阅读全文
posted @ 2024-03-11 17:35 孤海飞雁 阅读(1) 评论(0) 推荐(0) 编辑
摘要: .AddTransient<IFoo, Foo>() // //ImplementationType 根据类型 .AddScoped<IBar>(_ => new Bar())//ImplementationFactory 通过工厂创建 .AddSingleton<IBaz>(new Baz()); 阅读全文
posted @ 2024-03-10 16:43 孤海飞雁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 下载sdk zip 解压到F:\SourceCode\Net\Net8\RunTime\runtime\.dotnet下 所需插件 jdk node python cmake ninja sdk 都配置下环境变量 然后执行就行 编译成功 下载 Cmake 安装 添加ninja,并配置环境变量 删除F 阅读全文
posted @ 2024-03-08 17:37 孤海飞雁 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 所需工具JDK 12Nodejs 18Python VS里安装C++ VS里安装clone 官方库,checkout 到8.1git submodule update --init --recursive 这个我是没用也okSet-ExexutionPolicy RemoteSigned 用Powe 阅读全文
posted @ 2024-03-08 14:59 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 在csproj里 <TargetFramework>net8;</TargetFramework> <TargetFrameworks>net8;net6;</TargetFrameworks> 加了s 的支持多个版本 如果vs 有提示 项目“xxxxxxx”在上一操作期间遇到问题: “Debug| 阅读全文
posted @ 2024-02-24 17:20 孤海飞雁 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Cannot provide a value for property 'ScrollToLocationHash' on type 'Microsoft.AspNetCore.Components.Routing.Router'. There is no registered service of 阅读全文
posted @ 2024-02-23 13:57 孤海飞雁 阅读(3) 评论(0) 推荐(0) 编辑
摘要: docker-compose build --生成 docker-compose -f docker-compose.yml up -d --后台运行 -d 此命令会自动拉取 不存在的 镜像并运行 阅读全文
posted @ 2024-02-20 14:17 孤海飞雁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: docker tag consul:1.15.4 consul:latestdocker rmi consul:1.15.4 删除制定版本 在运行时,有些镜像拉取时报错 我这里 时 consu,只能制定版本下载 1.15.4 Error response from daemon: manifest 阅读全文
posted @ 2024-02-20 10:47 孤海飞雁 阅读(9) 评论(0) 推荐(0) 编辑