会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
国服第二切图仔
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2021年11月16日
[element-ui]多行confirm
摘要: vue封装多行confirm import { Message, MessageBox, Notification, Loading } from 'element-ui' // 确认窗体 confirm(content,that) { if(Array.isArray(content) && th
阅读全文
posted @ 2021-11-16 15:00 coffeemil
阅读(439)
评论(0)
推荐(0)
2021年11月15日
[vue]防抖(debounce) 和 节流(throttling)
摘要: debounce.js import Vue from "vue" Vue.directive("debounce", { inserted: function (el, binding) { let timer el.addEventListener('click', () => { if (ti
阅读全文
posted @ 2021-11-15 14:53 coffeemil
阅读(112)
评论(0)
推荐(0)
Vue.config.productionTip 关闭生产提示
摘要: main.js Vue.config.productionTip=false 关闭生产模式下给出的提示
阅读全文
posted @ 2021-11-15 10:17 coffeemil
阅读(708)
评论(0)
推荐(0)
2021年10月15日
[error] npm ERR! errno: -4048
摘要: 缓存问题,使用指令清理缓存即可 npm cache clean --force
阅读全文
posted @ 2021-10-15 23:35 coffeemil
阅读(354)
评论(0)
推荐(0)
2021年10月11日
解决 Windows PowerShell 权限问题
摘要: 搜索Windows PowerShell 以管理员身份运行 set-executionpolicy remotesigned 选A
阅读全文
posted @ 2021-10-11 01:25 coffeemil
阅读(561)
评论(0)
推荐(0)
2021年9月12日
[axios] 配置参数
摘要: let CancelToken = axios.CancelToken;// `cancel` 需要手动调用 cancel() 才能取消请求let cancel; axios({ // `url` 是用于请求的服务器 URL url: '/user', // `method` 是创建请求时使用的方法
阅读全文
posted @ 2021-09-12 22:20 coffeemil
阅读(182)
评论(0)
推荐(0)
2021年8月19日
nginx 常用指令
摘要: 1.启动 # ./sbin/nginx -c ./nginx/conf/nginx.conf 2.停止 ./sbin/nginx -s quit 正常停止 ./sbin/nginx -s stop 强制停止 3.重启 ./sbin/nginx -s reload
阅读全文
posted @ 2021-08-19 18:33 coffeemil
阅读(59)
评论(0)
推荐(0)
2021年8月8日
SpringBoot2.x集成knife4j
摘要: 什么是knife4j,为什么要使用knife4j?简单说knife4j就swagger的升级版API文档的一个框架,但是用起来比swagger方便多了,UI更加丰富。如何使用knife4j?简略的说一下,基础环境搭建可参考:SpringBoot2.x集成Swagger2这里我说一下主要配置区别:环境
阅读全文
posted @ 2021-08-08 05:12 coffeemil
阅读(1671)
评论(0)
推荐(0)
2021年8月3日
[error] 控制台报[WDS] Disconnected!
摘要: 不影响代码运行1. 问题:Vue运行项目时,控制台报 [WDS] Disconnected!不影响代码运行。 2. 解决方法:将config文件夹下的index.js中的host: '0.0.0.0',改为host: '127.0.0.1',重新启动,刷新页面或者重新启动即可 3. 解释:因为用了全
阅读全文
posted @ 2021-08-03 17:29 coffeemil
阅读(455)
评论(0)
推荐(0)
2021年7月27日
[error] 频繁调sockjs-node/info解决方案
摘要: 首先 sockjs-node 是一个JavaScript库,提供跨浏览器JavaScript的API,创建了一个低延迟、全双工的浏览器和web服务器之间通信通道。 服务端:sockjs-node(https://github.com/sockjs/sockjs-node)客户端:sockjs-cli
阅读全文
posted @ 2021-07-27 19:24 coffeemil
阅读(806)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告