会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不服憋着
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2020年1月9日
package.json
摘要: "author": "y", "private": true, "scripts": { "dev": "cross-evn NODE_ENV=dev webpack-dev-server --inline --progress --config build/webpack.dev.conf.js"
阅读全文
posted @ 2020-01-09 18:00 不服憋着
阅读(122)
评论(0)
推荐(0)
2019年12月4日
provide --- inject
摘要: 父组件 provide () { const vm = this return { getinternalApi (api) { vm.audioapi = api } } } 子组件 inject: [''getinternalApi] computed: { if(typeof this.get
阅读全文
posted @ 2019-12-04 09:30 不服憋着
阅读(125)
评论(0)
推荐(0)
2019年11月29日
vue窗口最上边显示路由进度条
摘要: 1.安装: cnpm install --save nprogress 2.在main.js中引入: 1 import NProgress from 'nprogress' 2 import 'nprogress/nprogress.css' 3.在main.js中进行配置: 1 NProgress
阅读全文
posted @ 2019-11-29 10:44 不服憋着
阅读(264)
评论(0)
推荐(0)
2019年11月28日
element --- el-popover
摘要: <el-popover ref="popover" placement="right" title="标题" width="200" trigger="focus" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。"> </el-popover> <el-button v-
阅读全文
posted @ 2019-11-28 15:32 不服憋着
阅读(2413)
评论(0)
推荐(0)
多个音频播放时,只能播放一个
摘要: onplay(res){ const target = res.target const audios = document.getelementbyTagName('audio') [...audios].foreach( (item) => { if(item !== target){ item
阅读全文
posted @ 2019-11-28 09:13 不服憋着
阅读(472)
评论(0)
推荐(0)
2019年11月7日
renderHeader使用
摘要: <el-table-column prop="Name" label="姓名" :render-header="renderHeader" ></el-table-column> //组件的method方法renderHeader(h,para) { //该列的绑定数据 console.log(pa
阅读全文
posted @ 2019-11-07 11:17 不服憋着
阅读(4108)
评论(0)
推荐(0)
2019年10月30日
this.$alert 方法
摘要: this.$alert('确认删除吗', '提示', { confirmButtonText: '确定', callback: action => { this.function() } }); this.$alert('确认删除吗', '提示', { });
阅读全文
posted @ 2019-10-30 17:50 不服憋着
阅读(12264)
评论(0)
推荐(0)
2019年10月17日
lodash中debounce防抖
摘要: filter:lodash.debounce(function(newVal){ 代码块 },1000)
阅读全文
posted @ 2019-10-17 15:40 不服憋着
阅读(2247)
评论(0)
推荐(0)
2019年5月16日
换行显示内容
摘要: word-wrap: break-word; word-break: break-all; overflow: hidden; word-wrap: break-word; word-break: break-all; overflow: hidden;
阅读全文
posted @ 2019-05-16 17:01 不服憋着
阅读(110)
评论(0)
推荐(0)
2019年4月20日
获取一个数组中相同的属性的对象数组
摘要: initDependLink(arr) { let links = {}; for (let item of arr) { if (!links[item.target]) { links[item.target] = []; } links[item.target].push(item.sourc
阅读全文
posted @ 2019-04-20 17:15 不服憋着
阅读(501)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告