随笔分类 -  Vue

pinyin.js
摘要:export default { a: "\u554a\u963f\u9515", ai: "\u57c3\u6328\u54ce\u5509\u54c0\u7691\u764c\u853c\u77ee\u827e\u788d\u7231\u9698\u8bf6\u6371\u55f3\u55cc\ 阅读全文
posted @ 2019-04-02 14:19 BLZC 阅读(3251) 评论(0) 推荐(0)
vue3.0中如何使用ueditor
摘要:1.在官网下载一个ueditor版本[https://ueditor.baidu.com/website/download.html],解压后放到public文件下的static文件中重命名为Editor (自己建立一个static文件,直接放到public文件下会出错)。 2.修改相应的配置。 u 阅读全文
posted @ 2019-03-22 18:12 BLZC 阅读(1627) 评论(0) 推荐(0)
如何在vue+element中实现选择框和穿梭框的根据拼音以及拼音首字母以及汉字的模糊搜索
摘要:1.汉字: 直接添加对应的 filterable 2.拼音: 穿梭框和选择器的实现方式有所不同 选择器: <1>下载pinyin-match: npm i --save pinyin-match <2>在main.js引入并注册为全局属性 import PinyinMatch from 'pinyi 阅读全文
posted @ 2019-03-22 17:57 BLZC 阅读(1490) 评论(0) 推荐(0)
Vue自定义指令
摘要:做项目的时候,在给按钮设置权限时使用到的 //按钮权限的存储 Vue.directive('allow', { inserted: (el, binding, vnode) => { let permissionList = sessionStorage.getItem('Btns'); if(!p 阅读全文
posted @ 2019-03-07 15:01 BLZC 阅读(122) 评论(0) 推荐(0)
vue+element 实现在表格内插入其他组件,每行数据独立存储
摘要:使用 v-slot row代表当前行 阅读全文
posted @ 2019-02-28 14:43 BLZC 阅读(882) 评论(0) 推荐(0)