会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
savokiss
flying get√
博客园
首页
新随笔
联系
订阅
管理
随笔 - 180
文章 - 0
评论 - 13
阅读 -
34万
2021年7月14日
uni-app 项目使用 npm 包中的小程序自定义组件
摘要: 原理 1. postinstall 时将 `node_modules` 下的小程序组件包复制到 `wxcomponents` 目录下 2. 第三方包建议只用 `package.json` 管理,所以将代码加入 .gitignore 中 核心代码 // scripts/pkg-copy.js// 本脚
阅读全文
posted @ 2021-07-14 14:27 savokiss
阅读(1820)
评论(0)
推荐(0)
2021年6月29日
whistle 模拟用户网络超时
摘要: 可添加如下规则: pattern reqDelay://timeMS 如针对 /api 的请求模拟 10s 超时: www.test.com/api reqDelay://10000 更多详见:reqDelay
阅读全文
posted @ 2021-06-29 11:54 savokiss
阅读(1332)
评论(0)
推荐(0)
2021年6月21日
Node.js 快速转换 url 链接
摘要: node.js 有一个内置类: URL 不需要引入,只需要直接使用即可 const res = new URL('https://www.baidu.com'); console.log(res); // 输出如下内容 URL { href: 'https://www.baidu.com/', or
阅读全文
posted @ 2021-06-21 21:36 savokiss
阅读(600)
评论(0)
推荐(0)
2021年6月1日
实用的 Git 命令
摘要: 列出项目下所有作者以及提交次数 git shortlog -sne --all 列出过去一年项目下哪些文件被提交次数最多 git rev-list --after='one year ago' --objects --all | git cat-file --batch-check='%(objec
阅读全文
posted @ 2021-06-01 15:09 savokiss
阅读(38)
评论(0)
推荐(0)
2021年5月28日
前端常用 prettier 配置 + vetur 配置
摘要: .prettierrc.js 配置如下: module.exports = { // 一行最多 120 字符 printWidth: 120, // 使用 2 个空格缩进 tabWidth: 2, // 不使用缩进符,而使用空格 useTabs: false, // 行尾需要有分号 semi: tr
阅读全文
posted @ 2021-05-28 22:13 savokiss
阅读(1408)
评论(0)
推荐(0)
2021年5月21日
vue 项目 eslint + prettier 配置
摘要: prettier 官方有三个跟 eslint 相集成的工具: https://prettier.io/docs/en/integrating-with-linters.html 它们的具体区别见:https://gist.github.com/savokiss/e5e585f30d3c775a07c
阅读全文
posted @ 2021-05-21 18:56 savokiss
阅读(1195)
评论(0)
推荐(0)
2021年5月7日
lodash 方法 debounce 防连点 防抖按钮点击
摘要: _.debounce(sendMail, 300, { leading: true, trailing: false })); 打开 leading,注意关掉 trailing 即可 详见:https://devdocs.io/lodash~4/index#debounce
阅读全文
posted @ 2021-05-07 15:28 savokiss
阅读(515)
评论(0)
推荐(0)
2021年4月21日
npm 包实现自动登录 CICD 流程
摘要: 执行 npm login 后,查看 ~/.npmrc 文件 registry=https://registry.npmjs.org///registry.npmjs.org/:_authToken=yyyyy-xfxxx-ffff-rrrr-xxxxxxxxx 新建 .npmrc 文件放在 项目根目
阅读全文
posted @ 2021-04-21 14:51 savokiss
阅读(1458)
评论(0)
推荐(0)
git push --follow-tags 命令
摘要: tag 分为 annotated 和 lightweight 两种类型 git push --follow-tags 此命令只会 push annotated tag git tag 默认打的是 lightweight 类型的,如果需要打 annotated 使用: git tag -a 官方说明:
阅读全文
posted @ 2021-04-21 14:40 savokiss
阅读(1401)
评论(0)
推荐(0)
2021年2月4日
小程序 iOS webview 中网页使用 iframe 无法滚动问题
摘要: dom 结构 <div class="iframeWrap"> <iframe class="iframe" v-bind="$attrs" scrolling="auto" :src="localUrl"></iframe> </div> css 样式 .iframeWrap { width: 1
阅读全文
posted @ 2021-02-04 17:47 savokiss
阅读(551)
评论(0)
推荐(0)
下一页
公告
昵称:
savokiss
园龄:
10年11个月
粉丝:
23
关注:
9
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
phpcms
(29)
php
(21)
nginx
(17)
ubuntu
(13)
Vue
(10)
linux
(8)
git
(8)
centos
(8)
shell
(7)
discuz
(7)
更多
积分与排名
积分 - 212408
排名 - 5701
随笔分类
AngularJS(5)
Apache(6)
CKEditor(4)
CodeIgniter(1)
Discuz(7)
EasyUI(1)
Error(1)
ES6(1)
Git(8)
JavaScript(7)
JQuery(3)
JSON(4)
Linux(21)
Markdown(1)
MongoDB(1)
MySQL(5)
Nginx(13)
NPM(2)
Oracle(1)
PHP(39)
PHPCMS(29)
Sass(1)
Spring-MVC(2)
SSH(2)
Sublime-Text(4)
SVN(2)
Symfony(2)
Tomcat(1)
Trac(1)
VSCode(2)
Vtiger(1)
Vue(16)
Webpack(1)
WIKI(1)
WordPress(1)
XAMPP(1)
Yarn(2)
Zend(2)
更多
随笔档案
2021年7月(1)
2021年6月(3)
2021年5月(3)
2021年4月(2)
2021年2月(1)
2020年12月(1)
2020年11月(2)
2020年10月(2)
2020年9月(1)
2020年8月(2)
2020年7月(2)
2020年4月(2)
2020年1月(4)
2019年10月(8)
2019年9月(1)
2019年4月(1)
2018年9月(4)
2018年8月(4)
2018年6月(1)
2018年5月(1)
2018年4月(1)
2018年3月(4)
2018年2月(4)
2018年1月(1)
2017年12月(1)
2017年10月(1)
2017年8月(1)
2017年7月(8)
2017年6月(6)
2017年5月(1)
2017年4月(4)
2017年3月(1)
2017年2月(4)
2017年1月(1)
2016年11月(1)
2016年10月(5)
2016年9月(2)
2016年3月(1)
2015年4月(2)
2015年3月(6)
2015年2月(1)
2015年1月(1)
2014年12月(2)
2014年11月(3)
2014年10月(19)
2014年9月(15)
2014年8月(38)
更多
阅读排行榜
1. VS Code 常用插件列表(41995)
2. 安装node-sass的正确姿势【转】(21076)
3. nginx配置多域名映射方法(本地hosts)(12721)
4. SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data(12146)
5. ssh配置git clone简易流程(11342)
评论排行榜
1. VueJS ElementUI el-table 的 formatter 和 scope template 不能同时存在(6)
2. uni-app 使用小程序官方 WeUI 组件库(2)
3. 小程序 iphone X 1rpx 边框透明及不显示问题(1)
4. MacOS 将 code 指令添加到命令行终端(1)
5. Vue.js 在 webpack 脚手架中使用 cssnext(1)
推荐排行榜
1. 小程序 iphone X 1rpx 边框透明及不显示问题(1)
2. CentOS 安装 docker-compose 加速(1)
3. CentOS 安装 MySQL PDO 扩展(1)
4. 解决 Electron 包下载太慢问题(1)
5. Vue.js 在 webpack 脚手架中使用 cssnext(1)
最新评论
1. Re:小程序 iphone X 1rpx 边框透明及不显示问题
谢谢,解决了大问题。
--k1ng_banana
2. Re:MacOS 将 code 指令添加到命令行终端
但是每次开机的时候,就有失效,有什么办法永久加入吗?
--沧海一声笑rush
3. Re:uni-app 使用小程序官方 WeUI 组件库
@施嘉宏 直接按小程序方式引入就能用了,注意下路径前缀是 /miniprogram_npm...
--savokiss
4. Re:uni-app 使用小程序官方 WeUI 组件库
所以到底怎??设置enable后还要做什么??
--施嘉宏
5. Re:Vue.js 在 webpack 脚手架中使用 cssnext
正解
--承影剑
Blog
DokeyAI
FluxAI Pro
AI Prompt Generator
点击右上角即可分享