随笔分类 -  常规知识

前端的一些常规知识和方法
摘要:##1、在项目根目录中加入此文件 https://files.cnblogs.com/files/huihuihero/.prettierrc.js ![](https://img2023.cnblogs.com/blog/1669868/202308/1669868-202308071907030 阅读全文
posted @ 2023-08-07 19:15 huihuihero 阅读(204) 评论(0) 推荐(0) 编辑
摘要:在上传文件的时候,需要限制指定的文件类型。 <input type="file" accept="image/*" /> accept表示可以上传文件类型,image表示图片,*表示所有支持的格式。accept暂时只支持type="file" zip rar zip是accept=".applica 阅读全文
posted @ 2022-12-29 15:59 huihuihero 阅读(4026) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示