摘要: 版本信息 "electron": "^28.2.0" node -v 16.20.0 npm -v 8.19.4 解决步骤 1.安装electron时卡住一段时间后报错TIMEOUT reify:@types/node: timing reifyNode:node_modules/global-ag 阅读全文
posted @ 2024-01-30 16:20 w1ndz 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: 新建项目后,直接使用demo进行安卓真机运行时报错 Exception in thread "main" java.net.ConnectException: Connection timed out: connect at java.base/sun.nio.ch.Net.connect0(Nat 阅读全文
posted @ 2024-01-18 15:26 w1ndz 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 依赖库版本 : Vue 3 + antd for vue v3. X 样式问题 :固定列背景色不生效,鼠标移入对应行背景色变为初始的白色 columns: [ { title: '装置', width: 100, dataIndex: 'areaName', fixed: 'left' }, ... 阅读全文
posted @ 2023-10-17 18:03 w1ndz 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 依赖库版本: vue3 + antd for vue v3.x dayjs version ^1.11.9 使用dayjs格式化表单中的日期控件值后,点击日期选择器直接报错 解决: 引入dayjs插件 ```js import dayjs from 'dayjs' import advancedFo 阅读全文
posted @ 2023-08-26 12:02 w1ndz 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 在使用浏览器内置API btoa() 编码base64时: 报错Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range 报错信息解释: 阅读全文
posted @ 2023-08-21 12:02 w1ndz 阅读(3934) 评论(0) 推荐(0) 编辑
摘要: 通过传入props的方式,传递给Modal.confirm组件样式,达到隐藏按钮的目的 阅读全文
posted @ 2022-12-30 18:06 w1ndz 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: <Modal /> 和 Form 一起配合使用时,设置 destroyOnClose 也不会在 Modal 关闭时销毁表单字段数据,需要设置 <Form preserve={false} /> 例子 <Modal destroyOnClose> <Form preserve={false} > </ 阅读全文
posted @ 2022-12-29 17:56 w1ndz 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 使用titleRender属性自定义节点渲染函数,不需要处理树型数据,达到比如右侧新增按钮的需求(如图三) <Tree ... titleRender={(nodeData) => { return ( <span> <span>xxx</span> <span>xxx</span> </span> 阅读全文
posted @ 2022-11-08 19:03 w1ndz 阅读(1298) 评论(0) 推荐(0) 编辑
摘要: 在使用Antd的表单动态填充的方法 setFieldsValue 时出现的报错,是因为时间选择器回显出现了问题,当前的格式不支持显示,需要使用momentjs转换为正确的回显格式 import moment from 'moment'; //处理数据 moment(selectedRow.imple 阅读全文
posted @ 2022-11-07 11:40 w1ndz 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 表单Form中Form.Item中有多个标签,只能有一个标签 阅读全文
posted @ 2022-10-28 16:54 w1ndz 阅读(87) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示