上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 利用vuex 做个简单的前端缓存 vuex 使用vuex-persistedstate 做持久化存储时无法保存 map,这就尴尬了 在javascript 中,object也是一种字典,object 的key 具有唯一性 使用object 存储也是可行的 代码如下 import Vue from ' 阅读全文
posted @ 2021-05-26 17:15 Pursue` 阅读(334) 评论(0) 推荐(0) 编辑
摘要: EFcore 解决 SQLite 没有datetime 类型的问题 SQLite不支持EFcore 的DateTime类型,请参阅 SQLite does not have proper support for DateTimeOffset via Entity Framework Core, se 阅读全文
posted @ 2021-05-08 16:40 Pursue` 阅读(832) 评论(0) 推荐(0) 编辑
摘要: dotnet 清理 nuget 缓存 https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders # Clear the 3.x+ cache (use 阅读全文
posted @ 2021-04-30 11:13 Pursue` 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: .net 5 单文件模式发布异常 CodeBase is not supported on assemblies loaded from a single-file bundle 异常明细 Unhandled exception. System.NotSupportedException: Code 阅读全文
posted @ 2021-04-29 13:40 Pursue` 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: ubuntu 开启网关转发 修改文件 /etc/sysctl.conf cat /etc/sysctl.conf 找到 net.ipv4.ip_forward=1 这一行,取消注释既可 nano /etc/sysctl.conf ################################### 阅读全文
posted @ 2021-04-18 16:55 Pursue` 阅读(1530) 评论(0) 推荐(0) 编辑
摘要: Vue-ECharts 6 迁移记录 vue-echarts 已经支持 ECharts 5,同时支持 Vue.js 2/3 官方demo Vue 2 import Vue from 'vue' import ECharts from 'vue-echarts' import { use } from 阅读全文
posted @ 2021-03-23 16:55 Pursue` 阅读(697) 评论(0) 推荐(0) 编辑
摘要: System.Text.Json 5.0 已增加支持将Enum 由默认 Number类型 转换为String System.Text.Json 5.0 增加了 将Enum转换成 字符串的 Converter,效果类似于 NewtonsoftJson services .AddControllersW 阅读全文
posted @ 2021-02-05 15:40 Pursue` 阅读(1323) 评论(0) 推荐(0) 编辑
摘要: Chrome保存整个网页为图片 打开需要保存为图片的网页 然后按F12,接着按Ctrl+Shift+P 在红框内输入full 点击下面的“Capture full size screenshot”或回车保存整个网页为图片 阅读全文
posted @ 2021-01-04 19:04 Pursue` 阅读(1170) 评论(0) 推荐(1) 编辑
摘要: windows 安装 OpenSSH 服务 下载程序 github 地址 https://github.com/PowerShell/Win32-OpenSSH release https://github.com/PowerShell/Win32-OpenSSH/releases https:// 阅读全文
posted @ 2020-12-25 11:11 Pursue` 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 解决docker 日志文件过大的问题 修改daemon.json $ nano /etc/docker/daemon.json { "log-driver": "json-file", "log-opts": { "max-size": "50m", "max-file": "3" } } $ sy 阅读全文
posted @ 2020-12-24 15:29 Pursue` 阅读(869) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页