摘要: 1、背景: vue3 + vite + ts 的一个项目打包的时候报错了 2、报错截图 3、引入截图 4、修改引入 vue-demi -> vue 5、结果 可以正常打包啦~~ 阅读全文
posted @ 2023-04-23 16:49 一只螺 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: 背景: 前段时间因为某些原因将 window 笔记本换成 Mac M1 pro , 然后运行项目的时候发现高于node12版本的项目中不支持 node-sass。 记录下解决相关问题之后的记录📝 Node version : V14 1、将项目中的 node-sass 插件卸载 npm unins 阅读全文
posted @ 2023-04-07 18:06 一只螺 阅读(473) 评论(0) 推荐(0) 编辑
摘要: let arr = ["2022-01-11 12:00:00", "2022-06-14 12:00:00", "2022-05-14 13:00:00", "2022-04-24 11:00:00", "2022-06-14 16:00:00", "2022-05-14 15:00:00", " 阅读全文
posted @ 2022-04-14 17:10 一只螺 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Container( padding: EdgeInsets.only(left: 8.0, right: 12.0), child: Text.rich( TextSpan( style: TextStyle( fontSize: 12, ), recognizer: TapGestureReco 阅读全文
posted @ 2020-12-10 22:01 一只螺 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: physics: new AlwaysScrollableScrollPhysics(), 默认允许滚动 阅读全文
posted @ 2020-12-01 09:07 一只螺 阅读(852) 评论(0) 推荐(0) 编辑
摘要: BUG 记录: 通过 this.$refs.xxx.scrollTop 获取到的滚动位置一直为 0 可以尝试给 div 设置 height: ; -- 给定高度 overflow:hidden; overflow-y:scroll; 阅读全文
posted @ 2020-11-06 11:27 一只螺 阅读(866) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>TYEST</title> <style type="text/css"> .flip-container { -webkit-perspective: 1000; -moz-p 阅读全文
posted @ 2020-11-04 14:32 一只螺 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 可以在遮罩层中添加 @touchmove.prevent 就可以实现禁止页面滚动 注意 弹窗里面有滚动条的也是无法滚动的 阅读全文
posted @ 2020-11-04 11:52 一只螺 阅读(4672) 评论(0) 推荐(0) 编辑
摘要: 1.运行flutter doctor 命令 2.错误内容 3先查看jdk版本 在cmd窗口中输入 java -version 如果高于1.8就降低JDK 版本到 JDK 8。也可以不用卸载(删除),重新安装1.8的, 然后环境变量配置为 1.8的jdk, 注意环境变量 JAVA_HOME 也要配置到 阅读全文
posted @ 2020-09-27 17:49 一只螺 阅读(326) 评论(0) 推荐(0) 编辑
摘要: map 返回一个新的数组,不会对空数组进行验证, 也不会改变原数组 示例: <html> <head> <title>Array map()</title> </head> <body> </body> <script> window.onload = function(){ let array = 阅读全文
posted @ 2020-08-19 14:55 一只螺 阅读(1666) 评论(0) 推荐(0) 编辑