博客园 - liuyong111
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=43817
2023-08-15T05:53:22Z
liuyong111
https://www.cnblogs.com/czly/
feed.cnblogs.com
https://www.cnblogs.com/czly/p/17631122.html
dav 编译报错 v8内存溢出 - liuyong111
dav 编译报错 v8内存溢出 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 到node_modules中/.bin/roadhog.cmd把最后一句改成 endLocal & go
2023-08-15T05:53:00Z
2023-08-15T05:53:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】dav 编译报错 v8内存溢出 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 到node_modules中/.bin/roadhog.cmd把最后一句改成 endLocal & go <a href="https://www.cnblogs.com/czly/p/17631122.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/16846345.html
dva model中yield put 阻塞 - liuyong111
yield put({ type: "getPRDPPBOMHeaderList", payload: { value } }); yield take(['getPRDPPBOMHeaderList/@@end']); 或 yield put.resolve({ type: "getPRDPPBO
2022-10-31T15:38:00Z
2022-10-31T15:38:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】yield put({ type: "getPRDPPBOMHeaderList", payload: { value } }); yield take(['getPRDPPBOMHeaderList/@@end']); 或 yield put.resolve({ type: "getPRDPPBO <a href="https://www.cnblogs.com/czly/p/16846345.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14776099.html
WPF 扩展MaterialDesignTheme主题 - liuyong111
项目中用到了MaterialDesignTheme,他只有两种主题,light和dark。 查看源码,将他dark主题copy到我们项目中 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta
2021-05-17T02:49:00Z
2021-05-17T02:49:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】项目中用到了MaterialDesignTheme,他只有两种主题,light和dark。 查看源码,将他dark主题copy到我们项目中 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta <a href="https://www.cnblogs.com/czly/p/14776099.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14639273.html
vue ant design vue中表格设置编辑列 - liuyong111
<a-table ref="table" :columns="columns" :rowKey="row => row.Id" :dataSource="data" :pagination="pagination" :loading="loading" @change="handleTableCha
2021-04-09T15:27:00Z
2021-04-09T15:27:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】<a-table ref="table" :columns="columns" :rowKey="row => row.Id" :dataSource="data" :pagination="pagination" :loading="loading" @change="handleTableCha <a href="https://www.cnblogs.com/czly/p/14639273.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14635520.html
vue a-select下拉选择及给其他文本赋值 - liuyong111
<a-form-model-item label="物料" prop="MaterialId"> <a-select v-model="entity.MaterialId" allowClear @select="onMaterialChanged"> <a-select-option v-for=
2021-04-08T16:39:00Z
2021-04-08T16:39:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】<a-form-model-item label="物料" prop="MaterialId"> <a-select v-model="entity.MaterialId" allowClear @select="onMaterialChanged"> <a-select-option v-for= <a href="https://www.cnblogs.com/czly/p/14635520.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14540572.html
vue3 nginx反向代理实现生产环境跨域 - liuyong111
修改nginx.conf listen 8089; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root vuetest\dist; index index.h
2021-03-15T14:46:00Z
2021-03-15T14:46:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】修改nginx.conf listen 8089; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root vuetest\dist; index index.h <a href="https://www.cnblogs.com/czly/p/14540572.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14527229.html
vue3 ant-design-vue表单及a-input v-model绑定 - liuyong111
antdesign2.0版,form 和 formmodel合并成form了,保留了formmodel的功能。 <a-form class="ant-advanced-search-form" :model="ruleForm" :rules="rules" /> a-input v-model绑定
2021-03-12T16:30:00Z
2021-03-12T16:30:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】antdesign2.0版,form 和 formmodel合并成form了,保留了formmodel的功能。 <a-form class="ant-advanced-search-form" :model="ruleForm" :rules="rules" /> a-input v-model绑定 <a href="https://www.cnblogs.com/czly/p/14527229.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14527197.html
vue3中使用ant-design-vue - liuyong111
创建项目后 安装antdesign npm i --save ant-design-vue@next main.js中添加引用 import { createApp } from 'vue' import Antd from 'ant-design-vue'; import 'ant-design-
2021-03-12T16:17:00Z
2021-03-12T16:17:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】创建项目后 安装antdesign npm i --save ant-design-vue@next main.js中添加引用 import { createApp } from 'vue' import Antd from 'ant-design-vue'; import 'ant-design- <a href="https://www.cnblogs.com/czly/p/14527197.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14497472.html
vue3中使用vue-router - liuyong111
安装vue-router npm install vue-router@4.0.0-beta.13 创建src/router/index.js import { createRouter, createWebHashHistory } from 'vue-router' const router =
2021-03-07T15:49:00Z
2021-03-07T15:49:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】安装vue-router npm install vue-router@4.0.0-beta.13 创建src/router/index.js import { createRouter, createWebHashHistory } from 'vue-router' const router = <a href="https://www.cnblogs.com/czly/p/14497472.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14480485.html
Vue3 axios跨域配置 - liuyong111
安装axios npm install axios vue-axios main.js里 import axios from 'axios' import VueAxios from 'vue-axios' const app = createApp(App) // 创建实例 app.config.
2021-03-04T07:21:00Z
2021-03-04T07:21:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】安装axios npm install axios vue-axios main.js里 import axios from 'axios' import VueAxios from 'vue-axios' const app = createApp(App) // 创建实例 app.config. <a href="https://www.cnblogs.com/czly/p/14480485.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14427443.html
c# MQTT操作类 - liuyong111
public class KdMqttClient { private static KdMqttClient MQInstance; private MqttClient MQClient; private string clientId; public delegate void Receive
2021-02-21T13:57:00Z
2021-02-21T13:57:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】public class KdMqttClient { private static KdMqttClient MQInstance; private MqttClient MQClient; private string clientId; public delegate void Receive <a href="https://www.cnblogs.com/czly/p/14427443.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/14212039.html
c# 使用Faker生成模拟数据 - liuyong111
nuget安装Faker 用法: 新建一个model public class Model { public string Name { get; set; } public int Age { get; set; } } 使用Faker给Model赋值 private void Button_Cl
2020-12-30T08:15:00Z
2020-12-30T08:15:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】nuget安装Faker 用法: 新建一个model public class Model { public string Name { get; set; } public int Age { get; set; } } 使用Faker给Model赋值 private void Button_Cl <a href="https://www.cnblogs.com/czly/p/14212039.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13999412.html
WPF datagrid设置指定单元格的背景色和Enable - liuyong111
效果图: 添加扩展类 public static class DataGridExtend { /// <summary> /// 获取DataGrid控件单元格 /// </summary> /// <param name="dataGrid">DataGrid控件</param> /// <pa
2020-11-18T05:58:00Z
2020-11-18T05:58:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】效果图: 添加扩展类 public static class DataGridExtend { /// <summary> /// 获取DataGrid控件单元格 /// </summary> /// <param name="dataGrid">DataGrid控件</param> /// <pa <a href="https://www.cnblogs.com/czly/p/13999412.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13964676.html
WPF 新建.net 5 WPF项目 - liuyong111
vs2019更新到16.8.0 安装.net 5 sdk 下载地址 https://dotnet.microsoft.com/download/dotnet/5.0 安装完成后,打开PowerShell,进入希望生成的wpf项目文件夹。 例: 然后再输入dotnet new wpf -o Net5W
2020-11-12T08:38:00Z
2020-11-12T08:38:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】vs2019更新到16.8.0 安装.net 5 sdk 下载地址 https://dotnet.microsoft.com/download/dotnet/5.0 安装完成后,打开PowerShell,进入希望生成的wpf项目文件夹。 例: 然后再输入dotnet new wpf -o Net5W <a href="https://www.cnblogs.com/czly/p/13964676.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13554867.html
WPF ListView渲染性能优化 - liuyong111
ListView有时加载个几百条数据都要好几秒钟。 1.ItemsPanelTemplate中用的StackPanel,改成VirtualizingStackPanel。 <ListView ItemsSource="{Binding WOList}" > <ListView.ItemsPanel>
2020-08-24T08:58:00Z
2020-08-24T08:58:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】ListView有时加载个几百条数据都要好几秒钟。 1.ItemsPanelTemplate中用的StackPanel,改成VirtualizingStackPanel。 <ListView ItemsSource="{Binding WOList}" > <ListView.ItemsPanel> <a href="https://www.cnblogs.com/czly/p/13554867.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13267509.html
Visual studio 扩展开发和发布商店 记录 - liuyong111
vs中新建扩展项目 添加Command文件 修改command配置 IDM_VS_CTXT_ITEMNODE是将扩展添加到类文件右键菜单中。 右键点击后,会触发comman中的Execute方法 上面这张图是扩展包适用的目标visual studio 版本[16,17)适用于vs2019. 编译好扩
2020-07-08T08:08:00Z
2020-07-08T08:08:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】vs中新建扩展项目 添加Command文件 修改command配置 IDM_VS_CTXT_ITEMNODE是将扩展添加到类文件右键菜单中。 右键点击后,会触发comman中的Execute方法 上面这张图是扩展包适用的目标visual studio 版本[16,17)适用于vs2019. 编译好扩 <a href="https://www.cnblogs.com/czly/p/13267509.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13267125.html
Abp 级联查询序列化时循环引用报错 - liuyong111
[Table("School")] public class School : Entity<int> { public string Name { get; set; } public virtual List<Student> Students { get; set; } } [Table("S
2020-07-08T07:23:00Z
2020-07-08T07:23:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】[Table("School")] public class School : Entity<int> { public string Name { get; set; } public virtual List<Student> Students { get; set; } } [Table("S <a href="https://www.cnblogs.com/czly/p/13267125.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13267072.html
Abp 级联查询和级联删除 - liuyong111
Abp级联查询,主要要设置主子表的外键关系。 [Table("School")] public class School : Entity<int> { public string Name { get; set; } public virtual List<Student> Students {
2020-07-08T07:16:00Z
2020-07-08T07:16:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】Abp级联查询,主要要设置主子表的外键关系。 [Table("School")] public class School : Entity<int> { public string Name { get; set; } public virtual List<Student> Students { <a href="https://www.cnblogs.com/czly/p/13267072.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/13048151.html
c# excel转pdf 页面显示不在一页的问题 - liuyong111
用的Microsoft.Office.Interop.Excel的ExportAsFixedFormat,将excel导出成pdf Workbook workBook = application.Workbooks.Open(sourcePath); workBook.ExportAsFixedFo
2020-06-05T02:17:00Z
2020-06-05T02:17:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】用的Microsoft.Office.Interop.Excel的ExportAsFixedFormat,将excel导出成pdf Workbook workBook = application.Workbooks.Open(sourcePath); workBook.ExportAsFixedFo <a href="https://www.cnblogs.com/czly/p/13048151.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/czly/p/12768374.html
WPF 显示通知 - liuyong111
在触摸屏上操作,用户尽可能的操作越简单,步骤越少越好。比如单据保存成功后,不用弹出保存成功的提示框,用户点确定后再关闭。这样增加了用户的操作。 var _notifyIcon = new NotifyIcon { BalloonTipText = @"保存成功!", Text = @"Hello,
2020-04-24T08:35:00Z
2020-04-24T08:35:00Z
liuyong111
https://www.cnblogs.com/czly/
【摘要】在触摸屏上操作,用户尽可能的操作越简单,步骤越少越好。比如单据保存成功后,不用弹出保存成功的提示框,用户点确定后再关闭。这样增加了用户的操作。 var _notifyIcon = new NotifyIcon { BalloonTipText = @"保存成功!", Text = @"Hello, <a href="https://www.cnblogs.com/czly/p/12768374.html" target="_blank">阅读全文</a>