会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
学海无涯
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2020年4月11日
echarts报错,Uncaught Error: series.type should be specified?
摘要: 先贴上我的代码: <el-row> <el-col :span='24'> <el-card> <div slot="header">某周网站访客来源分析</div> <div ref="A" :options="optionsA" style="width: 100%; height: 400px
阅读全文
posted @ 2020-04-11 00:40 深巷漫步
阅读(4745)
评论(0)
推荐(0)
2020年4月9日
vue项目中,在mian.js文件中引入scss文件后,报错
摘要: 还是先贴上报错情况: 这是我引入的文件: // 工共样式 import './assets/style/variable.scss' 错误原因是: 新版本的vue中。已经帮我们配置好了scss等样式预处理器,在utils.js 所以我们就不需要在webpack.base.conf.js文件中配置:
阅读全文
posted @ 2020-04-09 11:17 深巷漫步
阅读(1087)
评论(0)
推荐(0)
2020年4月8日
记一次在vue中使用scss报错
摘要: 1. 安装scss npm install node-sass sass-loader --save-dev npm install style-loader css-loader --save-dev 2. 在build文件中找到webpack.base.conf.js, 配置如下: { test
阅读全文
posted @ 2020-04-08 19:40 深巷漫步
阅读(1341)
评论(0)
推荐(0)
2020年3月31日
使用hexo搭建个人博客时引入图片失败
摘要: 1. 设置站点配置文件_config.yml中 post_asset_folder:true。 Hexo 提供了一种更方便管理 Asset 的设定:post_asset_folder当您设置post_asset_folder为true参数后,在建立文件时,Hexo会自动建立一个与文章同名的文件夹,您
阅读全文
posted @ 2020-03-31 12:26 深巷漫步
阅读(747)
评论(0)
推荐(1)
2020年3月30日
css实现三角形平滑旋转
摘要: <style> #Arrow { margin: 200px; width: 0px; height: 0px; border-left: 30px solid transparent; border-right: 30px solid transparent; border-top: 30px s
阅读全文
posted @ 2020-03-30 10:45 深巷漫步
阅读(1065)
评论(0)
推荐(0)
css如何实现盒子水平垂直居中
摘要: 1. 使用css3中的属性:transform: translate(x,y) <style> .box { width: 100px; height: 100px; background: orange; position: absolute; left: 50%; top: 50%; trans
阅读全文
posted @ 2020-03-30 09:07 深巷漫步
阅读(502)
评论(0)
推荐(0)
2020年3月28日
vue打包时候报错(压缩css错误)building for production...Error processing file: static/css/app.48f6b2b64ad6a4a201fff9556ed00051.css
摘要: 此错误的原因是css语法错误 解决方法 添加上面画线处代码, 就可以解决css压缩错误。
阅读全文
posted @ 2020-03-28 17:54 深巷漫步
阅读(1798)
评论(0)
推荐(0)
2020年3月22日
element中的messageBox组件无法在按需引入中显示取消按钮,解决方法
摘要: 如果需要在按需引入中显示取消按钮, 就必须要写成上图所示,如果使用alert方式, 也一样
阅读全文
posted @ 2020-03-22 10:24 深巷漫步
阅读(815)
评论(0)
推荐(0)
2020年3月11日
vue + elementui 中的弹窗组件封装成公共组件
摘要: 1. 第一步 <template> <div class="tip"> <el-dialog title="提示" :visible="dialogVisible" width="30%"> <span>{{msg}}</span> <span slot="footer" class="dialog
阅读全文
posted @ 2020-03-11 14:31 深巷漫步
阅读(5624)
评论(0)
推荐(1)
2020年1月8日
函数防抖和节流
摘要: 1. 函数防抖(事件频繁触发,在特定时间内,函数只被触发一次, 如果在特定时间内,不断被触发,则会重新计算时间) <button id="btn1">防抖</button> // 防抖 function getData() { console.log(1111); } const debounce
阅读全文
posted @ 2020-01-08 11:18 深巷漫步
阅读(142)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告
/* 看板娘 */