摘要:
转自链接:https://www.cnblogs.com/c2g5201314/p/17276222.html 阅读全文
摘要:
备忘录而已: <script setup lang="ts">// import {PropType} from "vue"export interface DataInfo{ id:number; name:string}type Props = { isObject?:DataInfo} // 阅读全文
摘要:
根据id 删除树结构中的数据 filterHandle(data, id) { var newData = data.filter(x => x.key !== id) newData.forEach(x => x.children && (x.children = this.filterHandl 阅读全文
摘要:
unique(arr) { const res = new Map(); return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1)); }, 阅读全文
摘要:
手动给除第一页之外的需要特效的元素添加 class="aos-animate" 转自:https://cloud.tencent.com/developer/ask/sof/302675/answer/503581 阅读全文
摘要:
需要手动给元素高度 <swiper class="my-swiper" :modules="modules" :direction="'vertical'" :loop="true" :slides-per-view="1" :space-between="50" :autoplay="autopl 阅读全文
摘要:
bottom:~"calc(.9rem + constant(safe-area-inset-bottom))"; bottom:~"calc(.9rem + env(safe-area-inset-bottom))"; 阅读全文
摘要:
main.js中引入之后的修改 import FastClick from "fastclick"; FastClick.prototype.focus = function (targetElement) { let length; if ( targetElement.setSelectionR 阅读全文
摘要:
patch-package 转自:https://www.cnblogs.com/lovewhatIlove/p/15724812.html 1、简介:有个功能需要修改node_modules里面的代码,就发现patch-package可以立即修改并保留对 npm 依赖项的修改。 2、安装patch 阅读全文