你瞅啥呢
摘要: 2024-05-04 如何为antd的table设置序号 给columns加多一列即可: const columns = [ { title: "序号", key: "index", render: (_, record, index) => index + 1, }, ... ] 如图: 阅读全文
posted @ 2024-05-04 17:16 叶乘风 阅读(742) 评论(0) 推荐(0)
摘要: 2024-05-04 如何去掉uniapp的h5开发中url存在的#号? 如果你正在用uniapp开发h5页面,你会发现h5页面的url里带有一个#号,比如:http://localhost:8080/#/pages/index/index 原因:uniapp默认模式导致 解决方案:修改uniapp默认模式为history,如下图所示: 阅读全文
posted @ 2024-05-04 17:06 叶乘风 阅读(2509) 评论(0) 推荐(0)
摘要: 2024-05-04 css实现鼠标移动至盒子,盒子在约定时间内进行放大缩小 放大缩小css @keyframes scaleAnimation { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } 完整代码: <!DOCTYPE html> < 阅读全文
posted @ 2024-05-04 16:25 叶乘风 阅读(45) 评论(0) 推荐(0)