Loading

上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页
摘要: 更新记录 2023年3月1日 从笔记迁移到博客。 转载请注明出处:https://www.cnblogs.com/cqpanda/p/17169162.html ExtJS教程汇总:https://www.cnblogs.com/cqpanda/p/16328016.html 引入css包文件 <l 阅读全文
posted @ 2023-03-24 08:20 重庆熊猫 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 要避免互联网信息茧,可以采取以下几种方法: 多样化阅读:不要只关注某个特定的新闻源或网站,而要寻找来自不同来源的信息,以便获得更广泛的视野。这可以帮助您避免陷入信息茧,而是了解各种不同的观点和意见。 看待问题多角度:对于某个问题,请尝试从不同的角度来看待它,包括政治、经济、社会、文化等等。这可以帮助 阅读全文
posted @ 2023-03-22 15:54 重庆熊猫 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Amusements/Games (娱乐/游戏) Amusements/Graphics (娱乐/图形) Applications/Archiving (应用/档案) Applications/Communications (应用/通信) Applications/Databases (应用/数据库 阅读全文
posted @ 2023-02-18 08:56 重庆熊猫 阅读(70) 评论(0) 推荐(0) 编辑
摘要: https://learn.microsoft.com/zh-cn/sql/ssms/release-notes-ssms?view=sql-server-ver16#previous-ssms-releases 阅读全文
posted @ 2023-02-17 08:31 重庆熊猫 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 说明 环境:VS 2022、.NET 7、Spire.Ocr 1.8 创建项目 dotnet new sln dotnet new console dotnet sln add . 安装包 dotnet add package spire.ocr 将依赖文件复制到指定的目录下: 从bin\Debug 阅读全文
posted @ 2023-02-16 08:43 重庆熊猫 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: 主Js文件内容: //注意: //使用前先判断浏览器是否支持 //Worker内的代码不可以操作DOM //不能跨域加载Worker的js文件 if(window.Worker !== undefined) { //新建Worker,类似创建子线程 let worker = new Worker(' 阅读全文
posted @ 2023-02-15 09:34 重庆熊猫 阅读(182) 评论(0) 推荐(0) 编辑
摘要: let arr1 = [1,2,3,4,5]; let arr2 = [4,5,6,7,8]; //数组求交集 function arrayIntersection(arr1,arr2) { //先去重 let arr1Unique = [...new Set(arr1)]; //去重转为set l 阅读全文
posted @ 2023-02-13 19:49 重庆熊猫 阅读(36) 评论(0) 推荐(0) 编辑
摘要: let arr1 = [1,2,3,4,5]; let arr2 = [4,5,6,7,8]; //数组求差集 function arrayDiff(arr1,arr2) { //先去重 let arr1Unique = [...new Set(arr1)]; let arr2UniqueSet = 阅读全文
posted @ 2023-02-12 13:00 重庆熊猫 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Promise.allSettled 执行多个Promise对象实例,配合await使用,可以达到等待任务全部完成后再继续执行的效果。 返回值是一个成功的Promise,其内部值为参数中的Promise的执行结果组成的数组。 const pandaTest1 = new Promise((resol 阅读全文
posted @ 2023-02-10 08:59 重庆熊猫 阅读(76) 评论(0) 推荐(0) 编辑
摘要: async function async function 说明 和C#中的使用类似。不过Task在Javascript中使用的是Promise对象。 async function 的返回值 async function testAsyncFunction() { // 返回字符串 // 函数返回一 阅读全文
posted @ 2023-02-08 09:00 重庆熊猫 阅读(40) 评论(0) 推荐(0) 编辑
摘要: NodeJS项目安装包 npm install babel-plugin-transform-remove-console --save-dev 配置Babel const plugins = [] //如果不是开发环境则启用 if (process.env.NODE_ENV !== 'develo 阅读全文
posted @ 2023-02-07 09:09 重庆熊猫 阅读(67) 评论(0) 推荐(0) 编辑
摘要: let arr1 = [1,2,3,4,5]; let arr2 = [4,5,6,7,8]; //数组求并集 function arrayUnion(arr1,arr2) { return [...new Set([...arr1,...arr2])]; } console.log(arrayUn 阅读全文
posted @ 2023-02-06 11:16 重庆熊猫 阅读(41) 评论(0) 推荐(0) 编辑
摘要: NodeJS安装必要的工具包 # 初始化项目 npm init -yes ## 安装babel browserify等包 npm i babel-cli babel-preset-env browserify -D 使用 ## babel转换指定文件夹下的代码 npx babel "/src/js" 阅读全文
posted @ 2023-02-05 08:45 重庆熊猫 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 常见回调函数: DOM事件回调函数 Ajax回调函数 生命周期回调函数 定时器回调函数 阅读全文
posted @ 2023-02-04 09:51 重庆熊猫 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 更新记录 点击查看 2024年3月6日 添加多种方法。 2023年2月2日 初始化。 使用集合的方式 let arr = [5,4,0,8,8,8,8,5,4,0]; let result = [...new Set(arr)]; console.log(result); 使用filter func 阅读全文
posted @ 2023-02-02 09:12 重庆熊猫 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 模式说明 简单工厂模式又叫静态工厂模式,但不属于23种设计模式。简单工厂模式是由一个工厂对象决定创建出哪一个产品类的实例。 UML结构图 优点 实现了对责任的分割,隔离了变化,使用了专门的工厂类来创建产品对象。 通过配置文件,可以在不修改人和客户端代码的情况下更换具体的产品类,在一定程度上提高系统的 阅读全文
posted @ 2023-02-01 08:56 重庆熊猫 阅读(56) 评论(0) 推荐(0) 编辑
摘要: ## 下载安装工具 https://otp.landian.vip/zh-cn/download.html ![image](https://img2023.cnblogs.com/blog/2839809/202306/2839809-20230606141248995-1673377690.pn 阅读全文
posted @ 2023-01-31 20:53 重庆熊猫 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 更新记录 点击查看 ``` >2023年3月1日 优化内容结构,加入组件中查询内容 >2023年1月6日 更新Ext.getCmp >2022年12月3日 开始。 ``` ExtJS教程汇总:https://www.cnblogs.com/cqpanda/p/16328016.html 查询组件 E 阅读全文
posted @ 2023-01-30 08:51 重庆熊猫 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 更新记录 2023年1月6日 从笔记迁移到博客。 转载请注明出处: ExtJS教程汇总:https://www.cnblogs.com/cqpanda/p/16328016.html 使用 Ext.util.Observable 类型即可。 代码实例: //定义类型 Ext.define('Myap 阅读全文
posted @ 2023-01-29 09:46 重庆熊猫 阅读(61) 评论(0) 推荐(0) 编辑
摘要: const getSelectedText = () => window.getSelection().toString(); getSelectedText(); JQuery实例: $(function(){ const getSelectedText = () => window.getSel 阅读全文
posted @ 2023-01-28 11:52 重庆熊猫 阅读(30) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页