摘要: 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 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 先看效果 我修改了ToggleButton的ControlTemplate,在ContentPresenter外面加了4个Border,控制4个Border的位置在ControlTemplate的左上、右上、左下、右下,选中时,触发4个边框的BorderThickness <Setter Prope 阅读全文
posted @ 2024-09-26 14:56 liuyong111 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 在.umirc.ts中增加配置 import { defineConfig } from "umi"; import HtmlWebpackPlugin from 'html-webpack-plugin'; export default defineConfig({ styles: [ { con 阅读全文
posted @ 2024-09-26 14:04 liuyong111 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 先看效果 <Style TargetType="{x:Type ToggleButton}"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderBrush" Value="DarkGray"/> 阅读全文
posted @ 2024-09-25 16:19 liuyong111 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(105) 评论(0) 推荐(0) 编辑
摘要: yield put({ type: "getPRDPPBOMHeaderList", payload: { value } }); yield take(['getPRDPPBOMHeaderList/@@end']); 或 yield put.resolve({ type: "getPRDPPBO 阅读全文
posted @ 2022-10-31 23:38 liuyong111 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 项目中用到了MaterialDesignTheme,他只有两种主题,light和dark。 查看源码,将他dark主题copy到我们项目中 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta 阅读全文
posted @ 2021-05-17 10:49 liuyong111 阅读(3960) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(3337) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(6573) 评论(0) 推荐(0) 编辑
摘要: 修改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 阅读(553) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示