摘要: ztree 阅读全文
posted @ 2019-05-23 15:54 littleboyck 阅读(6534) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>不定高度的虚拟列表 阅读全文
posted @ 2023-08-08 12:53 littleboyck 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 项目目录 src view1 index.html main.js view2 plugins module.js jquery.js ...... modules // amd模块文件 a1.js b1.js c.js b2.js b21.js src/view1/index.html <!DOC 阅读全文
posted @ 2023-05-31 19:14 littleboyck 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 1、删除远程分支 git push origin --delete [branch_name] 2、git remote prune origin 参考: https://blog.csdn.net/GrootBaby/article/details/109326704 阅读全文
posted @ 2022-04-12 11:32 littleboyck 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-03-15 15:42 littleboyck 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 找到Nginx文件夹中 config / nginx.conf 文件 1、启用gzip压缩。 在http模块下配置 # gzip config gzip on; gzip_min_length 1k; gzip_comp_level 9; gzip_types text/plain applicat 阅读全文
posted @ 2021-12-15 11:20 littleboyck 阅读(126) 评论(0) 推荐(0) 编辑
摘要: //解析文件路径。类似于path.resolve resolve(...paths){ let resolvePath = ''; let isAbsolutePath = false; for(let i = paths.length-1; i > -1; i--){ let path = pat 阅读全文
posted @ 2021-12-11 17:35 littleboyck 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 零宽:匹配的内容不会保存到匹配结果中(非捕获匹配),只作为匹配结果中的筛选条件。 var str = ./xx/../h/./c/ ; 匹配str的绿色部分; 答:/(?!^(\.{1,2}\/))\.{1,2}\//g 分析:(?!^(\.{1,2}\/)) : ?! 表示(否 | 非 | 不) 阅读全文
posted @ 2021-12-10 10:00 littleboyck 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-12 16:33 littleboyck 阅读(21) 评论(0) 推荐(0) 编辑
摘要: evalScripts(text){ let script , regexp = /<script(?:\s+src=('|")([\w.-/]+?)\1)?\s*>\s*([\s\S]*?)\s*<\/script>/gi , head = document.querySelectorAll('h 阅读全文
posted @ 2020-11-18 15:28 littleboyck 阅读(1395) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-09-28 14:25 littleboyck 阅读(516) 评论(0) 推荐(0) 编辑