摘要: 1、切换数据库 use information_schema; 2、查看数据库使用大小 select concat(round(sum(data_length/1024/1024),2),'MB') as data from information_schema.tables where table 阅读全文
posted @ 2023-11-29 09:51 一叶知秋。 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 在做Web项目时,可能会碰到点击回车键自动触发了点击事件的问题。针对于特定的环境需要屏蔽掉回车键,防止自动触发,以下为js的处理方法。 (回车,ASCII码为13) <script> document.onkeydown = function (event) { var eve = event ? 阅读全文
posted @ 2023-11-29 09:48 一叶知秋。 阅读(48) 评论(0) 推荐(0) 编辑