摘要: 步骤 1:设置断点策略为 "All" 右键点击断点(红点) 选择 More 或 Ctrl+Shift+F8 打开断点设置 在 Suspend 下拉框中选择:All(默认是 Thread) 默认:Suspend = Thread → 只暂停当前线程 改成:Suspend = All → 暂停所有线程 阅读全文
posted @ 2026-07-22 00:50 曦灰 阅读(5) 评论(0) 推荐(0)
摘要: JSON.parse()不能转换单引号,这一点很崩溃,最开始选择用正则表达式,因为输出的数据里面的单引号需要保留,所以只能打补丁式的转: let fixed = genChart // 1. 修复键名的单引号:'key': -> "key": .replace(/'([a-zA-Z0-9_]+)': 阅读全文
posted @ 2026-07-21 16:18 曦灰 阅读(1) 评论(0) 推荐(0)
摘要: 1. Split PDF: Spilt PDF 2.pdf2go: 缺点:免费输出30s。大文件需要钱。功能不全。 3.online2pdf: online2pdf 优点:功能齐全,自由,专业。 缺点:需要一点学习成本,还有某些功能无法处理透明背景图片。 阅读全文
posted @ 2026-05-14 19:23 曦灰 阅读(59) 评论(0) 推荐(0)
摘要: <ProList<API.Chart> itemLayout="vertical" rowKey="id" dataSource={chart1} // 1. 配置分页 pagination={{ current: currentPage, pageSize: 1, total: total, sh 阅读全文
posted @ 2026-03-30 00:08 曦灰 阅读(15) 评论(0) 推荐(0)
摘要: 写法 含义 <ProList<API.Chart>> dataSource 类型必须是 API.Chart[] <ProList<{ type: API.Cart }>> dataSource 类型必须是 { type: API.Cart }[](一个包含 type 字段的对象数组) 阅读全文
posted @ 2026-03-29 23:31 曦灰 阅读(5) 评论(0) 推荐(0)
摘要: <div className="my-chart-page" style={{ padding: 24, background: '#f5f5f5' }}> <div> {/* 当用户点击搜索按钮触发 一定要把新设置的搜索条件初始化,要把页面切回到第一页; 如果用户在第二页,输入了一个新的搜索关键词 阅读全文
posted @ 2026-03-29 23:07 曦灰 阅读(11) 评论(0) 推荐(0)
摘要: import React from 'react'; /** * 我的图表页面 * @constructor */ const MyChartPage: React.FC = () => { return ( /* 把根结点的类名改为my-chart-page; 这样就可以新建css文件,通过类名添 阅读全文
posted @ 2026-03-28 11:45 曦灰 阅读(5) 评论(0) 推荐(0)
摘要: File name 'e:/java/xxx/myapp/node_modules/@ant-design/pro-components/es/index.d.ts' differs from already included file name 'e:/java/xxx/myapp/node_mo 阅读全文
posted @ 2026-03-27 19:29 曦灰 阅读(8) 评论(0) 推荐(0)
摘要: 先到官网申请模型: 需要先创建应用: 创建应用https://console.xfyun.cn/app/myapp 在模型服务列表中找到刚创建的服务,找到api调用接口和文档,根据文档进行:https://maas.xfyun.cn/modelService 进入接口文档进行配置: 我选用的HTTP 阅读全文
posted @ 2026-03-25 10:58 曦灰 阅读(365) 评论(0) 推荐(0)
摘要: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lo 阅读全文
posted @ 2026-03-24 19:56 曦灰 阅读(8) 评论(0) 推荐(0)