会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuyong111
博客园
首页
新随笔
联系
订阅
管理
2025年1月23日
umi4 antd5、antd plots2x在低版本浏览器样式显示错误
摘要: npm install --save @babel/preset-env core-js regenerator-runtime 安装babel,用上面的指令 在umi4的配置文件.umirc.ts中,添加babel配置 extraBabelPresets: [ [ '@babel/preset-e
阅读全文
posted @ 2025-01-23 10:09 liuyong111
阅读(105)
评论(0)
推荐(0)
2024年9月26日
wpf ToggleButton选中效果和一个登录界面
摘要: 先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness <Setter Prope
阅读全文
posted @ 2024-09-26 14:56 liuyong111
阅读(619)
评论(0)
推荐(0)
umi4 在index.html中添加脚本和样式
摘要: 在.umirc.ts中增加配置 import { defineConfig } from "umi"; import HtmlWebpackPlugin from 'html-webpack-plugin'; export default defineConfig({ styles: [ { con
阅读全文
posted @ 2024-09-26 14:04 liuyong111
阅读(354)
评论(0)
推荐(0)
2024年9月25日
wpf ToggleButton选中效果
摘要: 先看效果 <Style TargetType="{x:Type ToggleButton}"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="DarkGray"/>
阅读全文
posted @ 2024-09-25 16:19 liuyong111
阅读(163)
评论(0)
推荐(0)
2023年8月15日
dav 编译报错 v8内存溢出
摘要: dav 编译报错 v8内存溢出 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 到node_modules中/.bin/roadhog.cmd把最后一句改成 endLocal & go
阅读全文
posted @ 2023-08-15 13:53 liuyong111
阅读(122)
评论(0)
推荐(0)
2022年10月31日
dva model中yield put 阻塞
摘要: yield put({ type: "getPRDPPBOMHeaderList", payload: { value } }); yield take(['getPRDPPBOMHeaderList/@@end']); 或 yield put.resolve({ type: "getPRDPPBO
阅读全文
posted @ 2022-10-31 23:38 liuyong111
阅读(179)
评论(0)
推荐(0)
2021年5月17日
WPF 扩展MaterialDesignTheme主题
摘要: 项目中用到了MaterialDesignTheme,他只有两种主题,light和dark。 查看源码,将他dark主题copy到我们项目中 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta
阅读全文
posted @ 2021-05-17 10:49 liuyong111
阅读(4105)
评论(0)
推荐(0)
2021年4月9日
vue ant design vue中表格设置编辑列
摘要: <a-table ref="table" :columns="columns" :rowKey="row => row.Id" :dataSource="data" :pagination="pagination" :loading="loading" @change="handleTableCha
阅读全文
posted @ 2021-04-09 23:27 liuyong111
阅读(3383)
评论(0)
推荐(0)
vue a-select下拉选择及给其他文本赋值
摘要: <a-form-model-item label="物料" prop="MaterialId"> <a-select v-model="entity.MaterialId" allowClear @select="onMaterialChanged"> <a-select-option v-for=
阅读全文
posted @ 2021-04-09 00:39 liuyong111
阅读(6653)
评论(0)
推荐(0)
2021年3月15日
vue3 nginx反向代理实现生产环境跨域
摘要: 修改nginx.conf listen 8089; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root vuetest\dist; index index.h
阅读全文
posted @ 2021-03-15 22:46 liuyong111
阅读(591)
评论(0)
推荐(0)
下一页
公告