上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: vue对组件进行二次封装 经常遇到常用组件与设计图有微小区别的情况,但是自写组件功能又太单一(划掉 其实原因就是懒),这个时候对组件封装就很有用处 例如对 element 的 MessageBox 二次封装 组件有很多自定义内容 例如 MessageBox 可自定义配置不同内容。 <template 阅读全文
posted @ 2021-06-08 14:48 Pursue` 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 利用vuex 做个简单的前端缓存 vuex 使用vuex-persistedstate 做持久化存储时无法保存 map,这就尴尬了 在javascript 中,object也是一种字典,object 的key 具有唯一性 使用object 存储也是可行的 代码如下 import Vue from ' 阅读全文
posted @ 2021-05-26 17:15 Pursue` 阅读(342) 评论(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` 阅读(931) 评论(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` 阅读(1519) 评论(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` 阅读(1152) 评论(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` 阅读(1758) 评论(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` 阅读(708) 评论(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` 阅读(1469) 评论(0) 推荐(0) 编辑
摘要: Chrome保存整个网页为图片 打开需要保存为图片的网页 然后按F12,接着按Ctrl+Shift+P 在红框内输入full 点击下面的“Capture full size screenshot”或回车保存整个网页为图片 阅读全文
posted @ 2021-01-04 19:04 Pursue` 阅读(1187) 评论(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` 阅读(402) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页