上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 更新最新版本hbuilderX报错 Vue2 scss 预编译器默认已由 node-sass 更换为 dart-sass,如果您的代码使用了 dart-sass 不支持的旧语法,可能存在部分不兼容的问题。 方案1:调整为 dart-sass 支持的语法,详情:https://uniapp.dclou 阅读全文
posted @ 2025-06-10 17:53 风花一世月 阅读(809) 评论(0) 推荐(0)
摘要: 有时候同事离职、或者iconfont账号丢失之后没办法在原有的iconfont项目上添加删除图标,只能使用再添加新的图标项目现在写了一个提取iconfont.js 内的svg并下载的html,下载成svg之后上传回iconfont,再获取在线链接替换iconfont.js格式如下https://at 阅读全文
posted @ 2025-04-17 17:41 风花一世月 阅读(93) 评论(0) 推荐(0)
摘要: 比如引入外部的地图js、视频组件js等,会堵塞html解析如果不是关键性js,可以添加async属性,使其异步加载添加前: <script src="<%= BASE_URL %>cdn/js/liveplayer/liveplayer-lib.min.js"></script> 添加后: <scr 阅读全文
posted @ 2025-04-16 15:06 风花一世月 阅读(13) 评论(0) 推荐(0)
摘要: 1、安装 yarn add event-source-polyfill 2、引用 import { EventSourcePolyfill } from 'event-source-polyfill'; 3、使用 // 创建SSE连接 const url = `${baseUrl}/ai/sse/` 阅读全文
posted @ 2025-04-03 15:50 风花一世月 阅读(172) 评论(0) 推荐(0)
摘要: 1、npm 依赖安装在 node_modules 目录中,采用扁平化结构,可能会导致重复依赖和较大的 node_modules 2、yarn 依赖也安装在 node_modules 目录中,不过缓存中已经有的不会重复下载,会直接复制本地的依赖 3、pnpm 依赖不会安装在 node_modules  阅读全文
posted @ 2025-03-14 10:22 风花一世月 阅读(60) 评论(0) 推荐(0)
摘要: 批量添加 控制台执行以下操作 // 阿里妈妈 选择全部图标 var icons = document.querySelectorAll('.icon-gouwuche1'); // 使用 setTimeout 启用多线程来进行点击 目前使用间隔时间为17毫秒 var auto_click = fun 阅读全文
posted @ 2025-01-07 09:36 风花一世月 阅读(141) 评论(0) 推荐(0)
摘要: 80端口Ping不通访问不到 去掉:80端口,访问正常 阅读全文
posted @ 2024-12-30 10:22 风花一世月 阅读(11) 评论(0) 推荐(0)
摘要: form 表单中只有一个输入框,在输入框中按下回车就是提交该表单,且会刷新页面。阻止这一默认行为,可以 在 form 标签上添加 @submit.native.prevent。 <el-form @submit.native.prevent> 阅读全文
posted @ 2024-12-18 15:40 风花一世月 阅读(138) 评论(0) 推荐(0)
摘要: uni-ui的uni-icons和uview的u-icon,@click.stop都是无效的 解决办法:给icon套上一个view,把@click.stop换到view上 <view @click.stop="openEditMenu(item)"> <u-icon name="edit-pen" 阅读全文
posted @ 2024-12-06 09:25 风花一世月 阅读(232) 评论(0) 推荐(0)
摘要: npm install @easydarwin/easyplayer --save 把 node_modules/@easydarwin/easyplayer/dist/element目录下的文件 复制到public内 index.html <script type="text/javascript 阅读全文
posted @ 2024-08-09 09:33 风花一世月 阅读(1268) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 12 下一页