11 2023 档案

摘要: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 一叶知秋。 阅读(155) 评论(0) 推荐(0)
摘要:在做Web项目时,可能会碰到点击回车键自动触发了点击事件的问题。针对于特定的环境需要屏蔽掉回车键,防止自动触发,以下为js的处理方法。 (回车,ASCII码为13) <script> document.onkeydown = function (event) { var eve = event ? 阅读全文
posted @ 2023-11-29 09:47 一叶知秋。 阅读(135) 评论(0) 推荐(1)