会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一只螺
博客园
首页
新随笔
联系
管理
订阅
2023年4月23日
Rollup failed to resolve import "vue-demi" from
摘要: 1、背景: vue3 + vite + ts 的一个项目打包的时候报错了 2、报错截图 3、引入截图 4、修改引入 vue-demi -> vue 5、结果 可以正常打包啦~~
阅读全文
posted @ 2023-04-23 16:49 一只螺
阅读(1881)
评论(0)
推荐(0)
2023年4月7日
Mac Apple 芯片运行 Vue 项目中 node-sass 转为 sass 遇到的问题记录,node-sass 替换成 sass
摘要: 背景: 前段时间因为某些原因将 window 笔记本换成 Mac M1 pro , 然后运行项目的时候发现高于node12版本的项目中不支持 node-sass。 记录下解决相关问题之后的记录📝 Node version : V14 1、将项目中的 node-sass 插件卸载 npm unins
阅读全文
posted @ 2023-04-07 18:06 一只螺
阅读(796)
评论(0)
推荐(0)
2022年4月14日
获取数组中时间的最小值
摘要: 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 一只螺
阅读(290)
评论(0)
推荐(0)
2020年12月10日
flutter 实现 文字中插入图标并能够点击
摘要: 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 一只螺
阅读(1165)
评论(0)
推荐(0)
2020年12月1日
Flutter SingleChildScrollView 内容没有超出容器高度无法滚动
摘要: physics: new AlwaysScrollableScrollPhysics(), 默认允许滚动
阅读全文
posted @ 2020-12-01 09:07 一只螺
阅读(922)
评论(0)
推荐(0)
2020年11月6日
vue 无法获取到 div 的滚动位置
摘要: BUG 记录: 通过 this.$refs.xxx.scrollTop 获取到的滚动位置一直为 0 可以尝试给 div 设置 height: ; -- 给定高度 overflow:hidden; overflow-y:scroll;
阅读全文
posted @ 2020-11-06 11:27 一只螺
阅读(899)
评论(0)
推荐(0)
2020年11月4日
CSS3 实现 y轴 旋转切换显示正反面内容 - 【动画效果】
摘要: <!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 一只螺
阅读(1085)
评论(0)
推荐(0)
vue 移动端弹窗后禁止页面滚动 @touchmove.prevent
摘要: 可以在遮罩层中添加 @touchmove.prevent 就可以实现禁止页面滚动 注意 弹窗里面有滚动条的也是无法滚动的
阅读全文
posted @ 2020-11-04 11:52 一只螺
阅读(4757)
评论(0)
推荐(0)
2020年9月27日
解决 Flutter Android license status unknown.
摘要: 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 一只螺
阅读(355)
评论(0)
推荐(0)
2020年8月19日
JavaScript Array map() 的简单使用
摘要: map 返回一个新的数组,不会对空数组进行验证, 也不会改变原数组 示例: <html> <head> <title>Array map()</title> </head> <body> </body> <script> window.onload = function(){ let array =
阅读全文
posted @ 2020-08-19 14:55 一只螺
阅读(1678)
评论(0)
推荐(0)
下一页
公告