2023年6月30日
摘要: 转自链接:https://www.cnblogs.com/c2g5201314/p/17276222.html 阅读全文
posted @ 2023-06-30 10:33 仔仔爱学习 阅读(2) 评论(0) 推荐(0) 编辑
  2023年3月10日
摘要: 备忘录而已: <script setup lang="ts">// import {PropType} from "vue"export interface DataInfo{ id:number; name:string}type Props = { isObject?:DataInfo} // 阅读全文
posted @ 2023-03-10 13:47 仔仔爱学习 阅读(308) 评论(0) 推荐(0) 编辑
  2023年2月21日
摘要: 根据id 删除树结构中的数据 filterHandle(data, id) { var newData = data.filter(x => x.key !== id) newData.forEach(x => x.children && (x.children = this.filterHandl 阅读全文
posted @ 2023-02-21 17:26 仔仔爱学习 阅读(62) 评论(0) 推荐(0) 编辑
  2023年2月9日
摘要: unique(arr) { const res = new Map(); return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1)); }, 阅读全文
posted @ 2023-02-09 15:04 仔仔爱学习 阅读(55) 评论(0) 推荐(0) 编辑
  2023年1月11日
摘要: 手动给除第一页之外的需要特效的元素添加 class="aos-animate" 转自:https://cloud.tencent.com/developer/ask/sof/302675/answer/503581 阅读全文
posted @ 2023-01-11 09:31 仔仔爱学习 阅读(199) 评论(0) 推荐(0) 编辑
  2023年1月10日
摘要: 需要手动给元素高度 <swiper class="my-swiper" :modules="modules" :direction="'vertical'" :loop="true" :slides-per-view="1" :space-between="50" :autoplay="autopl 阅读全文
posted @ 2023-01-10 10:42 仔仔爱学习 阅读(327) 评论(0) 推荐(0) 编辑
  2022年12月14日
摘要: bottom:~"calc(.9rem + constant(safe-area-inset-bottom))"; bottom:~"calc(.9rem + env(safe-area-inset-bottom))"; 阅读全文
posted @ 2022-12-14 15:10 仔仔爱学习 阅读(208) 评论(0) 推荐(0) 编辑
摘要: main.js中引入之后的修改 import FastClick from "fastclick"; FastClick.prototype.focus = function (targetElement) { let length; if ( targetElement.setSelectionR 阅读全文
posted @ 2022-12-14 13:47 仔仔爱学习 阅读(58) 评论(0) 推荐(0) 编辑
  2022年12月13日
摘要: patch-package 转自:https://www.cnblogs.com/lovewhatIlove/p/15724812.html 1、简介:有个功能需要修改node_modules里面的代码,就发现patch-package可以立即修改并保留对 npm 依赖项的修改。 2、安装patch 阅读全文
posted @ 2022-12-13 09:18 仔仔爱学习 阅读(99) 评论(0) 推荐(0) 编辑
  2022年12月9日
摘要: html { /*兼容FF*/ filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' 阅读全文
posted @ 2022-12-09 09:41 仔仔爱学习 阅读(13) 评论(0) 推荐(0) 编辑