上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: <el-cascader :options="categoryTree" :props="props" collapse-tags v-model="category" style="width:100%" @change="changeCategory" @visible-change="visi 阅读全文
posted @ 2023-01-14 16:22 枫若 阅读(366) 评论(0) 推荐(0)
摘要: <template> <div id="app"> <ul> <li ref='waterfallItem' v-for="(item,index) in waterfallArr" :key="index" > <img :src="item.img"> 第{{index+1}}张 <span>原 阅读全文
posted @ 2022-12-12 15:03 枫若 阅读(286) 评论(0) 推荐(0)
摘要: 项目发布新版本,部署线上后用户浏览器需要清理缓存 1.public文件夹中修改 index.html文件meta配置 <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta htt 阅读全文
posted @ 2022-11-09 18:02 枫若 阅读(1008) 评论(0) 推荐(0)
摘要: 原文链接 https://blog.csdn.net/m0_52083530/article/details/122628780 一、引入伪类跟伪元素的原因? 伪类和伪元素的引入是因为在文档树里有些信息无法被充分描述 比如CSS没有“段落的第一行”、“文章首字母”之类的选择器,而这在一些出版场景里又 阅读全文
posted @ 2022-09-09 15:29 枫若 阅读(176) 评论(0) 推荐(0)
摘要: 链接 https://www.cnblogs.com/mochenxiya/p/16597545.html 一、为什么会出现跨域问题 点击打开视频讲解更详细 出于浏览器的同源策略限制。同源策略(Sameoriginpolicy)是一种约定,它是浏览器最核心也最基本的安全功能,如果缺少了同源策略,则浏 阅读全文
posted @ 2022-08-18 11:09 枫若 阅读(997) 评论(0) 推荐(0)
摘要: 原文链接: https://www.cnblogs.com/duanweishi/p/16490197.html https://blog.csdn.net/qq996150938/article/details/111659131 论页面禁止 referer 的 6 种方式 1. head 标签中 阅读全文
posted @ 2022-08-12 13:38 枫若 阅读(6125) 评论(0) 推荐(0)
摘要: /* 设置input框提示内容的样式 */ input::-webkit-input-placeholder { font-size: 14px; color: #ccc; font-weight: 400; font-family: sans-serif; } /*webkit 内核浏览器*/ i 阅读全文
posted @ 2022-07-26 11:48 枫若 阅读(557) 评论(0) 推荐(0)
摘要: 首先初始化创建一个nuxt项目 nuxt项目创建以后,内部已自动集成store,所以无需再单独安装和引入 在根目录的store文件夹下新建文件,例如home.js //home.js export const state = () => ({ age: 18 }) export const muta 阅读全文
posted @ 2022-07-26 11:13 枫若 阅读(1039) 评论(0) 推荐(0)
摘要: <template> <div class="quill-editor"> <!-- 图片上传组件辅助--> <el-upload class="avatar-uploader" :action="uploadUrl" name="img" :show-file-list="false" :on-s 阅读全文
posted @ 2022-06-15 11:15 枫若 阅读(630) 评论(0) 推荐(0)
摘要: 原文链接:https://www.jianshu.com/p/56680ce1cc97 方式一:使用html2canvas和jspdf插件实现 该方式是通过html2canvas将HTML页面转换成图片,然后再通过jspdf将图片的base64生成为pdf文件。实现步骤如下: 1,下载插件模块 np 阅读全文
posted @ 2022-06-05 16:59 枫若 阅读(943) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页