清除表格样式以及排序

//清除表格样式以及排序
 _this.$refs.moviesTable.clearSort();

@sort-change="sortChange" ref="moviesTable"

sortable='custom'

sortChange: function (column, prop, order) {
                this.order = this.$refs.moviesTable.tableData;
                //console.log(column.prop, column.order);
                if (column.order == 'ascending') {
                    this.sort = " asc";
                }
                else {
                    this.sort = " desc";
                }
                this.orderby = column.prop + this.sort;
                this.pageParams.currentPageNum=1
                this.Bind();
            },


版权声明:本文为wz990223原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。