摘要: npm i dragablemodel -S(安装插件) import dragablemodel from 'dragablemodel' Vue.use(loading) 模板(组件) <dragablemodel v-model='modal5'> <span slot="top"></spa 阅读全文
posted @ 2018-04-08 18:58 刘兵博客 阅读(240) 评论(0) 推荐(0) 编辑
摘要: vue中自定义组件(插件) 原创 2017年01月04日 22:46:43 标签: 插件 原创 2017年01月04日 22:46:43 标签: 插件 在vue项目中,可以自定义组件像vue-resource一样使用Vue.use()方法来使用,具体实现方法: 1、首先建一个自定义组件的文件夹,比如 阅读全文
posted @ 2018-04-08 18:45 刘兵博客 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 首先对Render进行分析,在iview官方的文档中,找到了table插入Button的例子: [javascript] view plain copy { title: 'Action', key: 'action', width: 150, align: 'center', render: (h 阅读全文
posted @ 2018-04-08 16:03 刘兵博客 阅读(2355) 评论(0) 推荐(0) 编辑