![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
文文文文殊
只是个普通人
展开
-
vue2-ace-editor代码编辑器使用
1.首先通过运行安装:npm install --save-dev vue2-ace-editor2.然后再main里加入代码进行组件全局加载import Editor from 'vue2-ace-editor'Vue.component('editor', Editor)如果不想全局加载也可以仅在自己需要的页面进行引入import Editor from 'vue2-ace-editor'components: {Editor}以下是页面的editor组件相关的代原创 2020-05-20 11:29:04 · 4516 阅读 · 5 评论 -
VUE element ui Table分页后排序出错
最近刚开始使用Vue+element UI 使用table组件进行分页并且采用了分页组件,然后进行前端排序发现了一个问题,使用table自定义的排序属性 sortable=“true” 的话组件只对当前页的数据进行了排序,而不是整个数据进行排序这种情况下我们可以使用回调函数 sort-change 将整个数据进行排序```javascript <el-table //分页模糊搜...原创 2020-04-30 17:39:19 · 1768 阅读 · 2 评论