会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
[置顶]
背影---朱自清
摘要: 背影
阅读全文
posted @ 2019-11-07 19:39 SSzzPP
阅读(106)
评论(1)
推荐(0)
2022年3月5日
【tronLink】调用合约签名底层实现
摘要: var str = 'message digest'// 要签名的字符串 const ethers = window._ethers; var message = ethers.utils.sha256(tronWeb.toHex(str));// 此处用sha256做hash,tron钱包签的东西
阅读全文
posted @ 2022-03-05 10:17 SSzzPP
阅读(630)
评论(0)
推荐(0)
2022年2月25日
echarts echarts-gl对应版本
摘要: 经常出现echarts echarts-gl对应得版本不一致导致报错,现有以下记录。“echarts”: “^4.9.0”, “echarts-gl”: “^1.1.2”,“echarts”: “^5.2.0”, “echarts-gl”: “^2.0.8”,
阅读全文
posted @ 2022-02-25 19:34 SSzzPP
阅读(1749)
评论(0)
推荐(0)
2022年1月26日
性能优化:Vue使用CDN
摘要: vue打包后部分资源包占用了较大的空间,故通过CDN方式,缩小打包体积。【以ElementUI为例】 修改index.html <!-- 引入VUE --> <script src="https://unpkg.com/vue@2.6.11/dist/vue.js"></script> <!-- 引
阅读全文
posted @ 2022-01-26 15:58 SSzzPP
阅读(853)
评论(0)
推荐(0)
2022年1月11日
如何禁用@ typescript-eslint / no-non-null-assertion规则
摘要: 在.eslintrc.js的rules中添加如下内容:'@typescript-eslint/no-non-null-assertion': 'off'
阅读全文
posted @ 2022-01-11 16:13 SSzzPP
阅读(533)
评论(0)
推荐(0)
2021年12月20日
Safari 15.1 在有系统代理的情况下无法连接 WebSocket?
摘要: 今天用 B 站看直播的时候遇到了这个问题,系统 macOS Monterey ,Safari 版本 15.1 ,B 站直播的弹幕加载不出来,检查网页发现主要是由于 WebSocket 报错引起,“WebSocket connection to 'wss://tx-bj-live-comet-06.c
阅读全文
posted @ 2021-12-20 11:32 SSzzPP
阅读(1304)
评论(0)
推荐(0)
2021年10月22日
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
摘要: 今天打包vue项目,突然蹦出一个告警: Browserslist: caniuse-lite is outdated. Please run next command `npm update` 按照提示操作,运行npm update也没有解决。 于是我查询了一下npm手册,得知是不能直接运行npm
阅读全文
posted @ 2021-10-22 12:29 SSzzPP
阅读(509)
评论(0)
推荐(0)
2021年10月12日
vue中,解决chrome下,的warning, Added non-passive event listener to a scroll-blocking ‘mousewheel‘ event 问题
摘要: 一、警告信息如下:vue+element项目中,解决chrome下的passive警告问题 element-ui.common.js?5c96:9972 [Violation] Added non-passive event listener to a scroll-blocking 'mousew
阅读全文
posted @ 2021-10-12 15:31 SSzzPP
阅读(1176)
评论(0)
推荐(0)
谷歌浏览器访问出现: Slow network is detected.
摘要: 使用谷歌浏览器访问出现:jquery.min.js:4 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallb
阅读全文
posted @ 2021-10-12 14:41 SSzzPP
阅读(133)
评论(0)
推荐(0)
公告