会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
追逐
博客园
首页
新随笔
联系
订阅
管理
2019年7月2日
vue自定义指令,自动调用下载的方法
摘要: ``` directives: { clickDown: { inserted (el, binding, item) { if (+binding.value.item.fromId === +item.context.userId) { // console.log(item.context) item.contex为vue的实例,也...
阅读全文
posted @ 2019-07-02 01:26 山村码农
阅读(1405)
评论(0)
推荐(0)
编辑
公告