摘要:
Unexpected end of JSON input while parsing near '...nterpret","version":"' 解决步骤 This solved it for me npm cache clean --force then run npm install -g 阅读全文
posted @ 2025-04-09 11:09
程序员の奇妙冒险
阅读(62)
评论(0)
推荐(0)
摘要:
Blob 转base64 blobToBase64(blob) { return new Promise((resolve, reject) => { const fileReader = new FileReader(); fileReader.onload = (e) => { resolve( 阅读全文
posted @ 2025-04-09 11:07
程序员の奇妙冒险
阅读(42)
评论(0)
推荐(0)
摘要:
// npm查看当前版本 npm -v // npm查看所有版本 npm view npm versions // npm更新到最新版 npm install -g npm // 查看当前配置 npm config list // 查看缓存路径 npm config get cache // 查看全 阅读全文
posted @ 2025-04-09 11:04
程序员の奇妙冒险
阅读(39)
评论(0)
推荐(0)
摘要:
表单方式 const params = { keyword: this.listSearchKey.keyword }; const formEl = document.createElement('form'); formEl.setAttribute('action', url); formEl 阅读全文
posted @ 2025-04-09 11:01
程序员の奇妙冒险
阅读(69)
评论(0)
推荐(0)
摘要:
uniapp开发,vue文件 微信小程序方式 let funName = 'testFun'; this[funName]() H5方式 let funName = 'testFun'; eval("this."+funName+"()"); 调用的是 testFun方法 methods: { te 阅读全文
posted @ 2025-04-09 10:57
程序员の奇妙冒险
阅读(27)
评论(0)
推荐(0)
摘要:
<button bindtap="tomap" class="cu-btn line-blue sm">获取地址</button> tomap: function() { var t = this; wx.authorize({ scope: "scope.userLocation", succes 阅读全文
posted @ 2025-04-09 10:55
程序员の奇妙冒险
阅读(50)
评论(0)
推荐(0)
摘要:
/* Windows服务 */ -- 启动MySQL net start mysql -- 创建Windows服务 sc create mysql binPath= mysqld_bin_path(注意:等号与值之间有空格) /* 连接与断开服务器 */ mysql -h 地址 -P 端口 -u 用 阅读全文
posted @ 2025-04-09 00:15
程序员の奇妙冒险
阅读(34)
评论(0)
推荐(0)
摘要:
索引的本质 索引是帮助mysql高效获取数据的排好序的数据结构 索引存储在文件里 索引结构 二叉树(红黑树:二叉平衡树) hash BTREE B-Tree与B+Tree B+Tree是B-Tree的变种 B-Tree 度-节点的数据存储个数 叶节点具有相同的深度 叶节点的指针为空 节点中的数据ke 阅读全文
posted @ 2025-04-09 00:14
程序员の奇妙冒险
阅读(76)
评论(0)
推荐(0)
摘要:
读未提交(Read uncommitted) 读提交(read committed) 可重复读(repeatable read) 串行化(Serializable) 读未提交(RU): 一个事务还没提交时, 它做的变更就能被别的事务看到.【可以看到未提交的数据(脏读)】 读提交(RC): 一个事务提 阅读全文
posted @ 2025-04-09 00:12
程序员の奇妙冒险
阅读(34)
评论(0)
推荐(0)
摘要:
mysql 配置 [mysqld] lower_case_table_names=1 # 添加此行代码重启mysql即可 阅读全文
posted @ 2025-04-09 00:09
程序员の奇妙冒险
阅读(10)
评论(0)
推荐(0)
摘要:
- 查询30天 select DATE_SUB(CURDATE(), INTERVAL 30 DAY) frm table; 今天 select * from 表名 where to_days(时间字段名) = to_days(now()); 昨天 SELECT * FROM 表名 WHERE DA 阅读全文
posted @ 2025-04-09 00:00
程序员の奇妙冒险
阅读(62)
评论(0)
推荐(0)
摘要:
SELECT * FROM your_table WHERE date_column >= CURDATE() - INTERVAL 30 DAY 阅读全文
posted @ 2025-04-08 23:59
程序员の奇妙冒险
阅读(18)
评论(0)
推荐(0)

浙公网安备 33010602011771号