摘要: <div style="float:left;width: 1px;height: 25px; background: #000;"></div> 阅读全文
posted @ 2024-03-14 09:08 seekHelp 阅读(1) 评论(0) 推荐(0) 编辑
摘要: function round(num, iCount) { // iCount 保留几位小数 let changeNum = num let zs = true // 判断是否是负数 if (changeNum < 0) { changeNum = Math.abs(changeNum) zs = 阅读全文
posted @ 2024-03-13 17:38 seekHelp 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一、报错问题:提示淘宝镜像过期 二、错误提示已经告诉原因是淘宝镜像过期了! 其实,早在 2021 年,淘宝就发文称,npm 淘宝镜像已经从 registry.npm.taobao.org 切换到了 registry.npmmirror.com。旧域名也将于 2022 年 5 月 31 日停止服务(不 阅读全文
posted @ 2024-02-27 10:44 seekHelp 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 父元素添加 style="transform: scale3d(1, 1, 1);position: fixed;" 子元素添加:width: calc(100%); style="position: fixed;width: calc(100%);" 阅读全文
posted @ 2024-02-04 11:10 seekHelp 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 项目中可能会需要动态添加 style 行内样式,但是在长期维护的项目里面,尽量要避免使用。 注意: 1、凡是有 - 的style属性名都要变成驼峰式,比如font-size要变成fontSize。 2、除了绑定值,其他的属性名的值要用引号括起来,比如backgroundColor:'#00a2ff' 阅读全文
posted @ 2024-01-26 10:06 seekHelp 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 在本页面引入组件并使用 在需要左滑删除的地方使用 <view v-for="(item, index) in csListArrl" :key="index" :data-index="index"> <delSlideLeft :item="item" :data_transit="{ index 阅读全文
posted @ 2024-01-26 09:09 seekHelp 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 从git上获取的代码突然运行不起来,报错提示含有 deprecated core-js@3.8.1: core-js @ < 3.23.3 is no longer maintained and not recommended for usage due to the number of issue 阅读全文
posted @ 2023-12-22 09:18 seekHelp 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 需求: 1.支持v-model。 2.支持el-input所有属性。 2.失去焦点添加千位符。 3.获取焦点去掉千位符。 组件一 组件GalaxyNumberInput <template> <el-input class="galaxy-num-input" v-model="displayVal 阅读全文
posted @ 2023-12-18 11:05 seekHelp 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 问题: 现在有一个问题是,Input在捕获pda输入内容时,会出现输入数据不全,文本内容被截断的情况。二维码内的数据稍稍多一点,就会出现输入内容不全,字符被截断的情况(这还是限于二维码内容只是非中文的情况)。如果二维码的内容包含中文的话,输入的数据差异就会更大。简直无法和原二维码码内的数据比对。 期 阅读全文
posted @ 2023-12-14 18:31 seekHelp 阅读(30) 评论(0) 推荐(0) 编辑
摘要: utils/deepCopy.js export default function deepCopy(obj) { // 深拷贝方法 if (typeof obj !== 'object' || obj null) { return obj; } let copy; if (obj instance 阅读全文
posted @ 2023-12-14 18:28 seekHelp 阅读(7) 评论(0) 推荐(0) 编辑