提交 4d1022f5 编写于 作者: 杨广俊's avatar 杨广俊

排序问题

上级 3f37917c
......@@ -157,7 +157,7 @@ export default {
methods: {
// 排序
orderAction(orderName, isSortUp) {
let orderType = isSortUp ? 1 : -1
let orderType = isSortUp ? -1 : 1
let orderData = this.parmDataDoctList.slice()
orderData.sort((a, b)=> {
if (orderName === 'doctorFirstNameChar') {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册