Commit 4701d21a authored by zhengke's avatar zhengke

修复bug

parent fd478132
......@@ -236,7 +236,7 @@ const openCopyHandler = (item:any)=>{
copyObject.value = item
}
const sortHandler = (val:any)=>{
queryObj.OrderByType = val=='descending'?2:1
queryObj.OrderByType = val.order=='descending'?2:1
refreshHandler()
}
const setFilterNameHandler = (t:0|1)=>{
......
......@@ -286,9 +286,9 @@ import CopyFile from "./CopyFile.vue";
emit('refreshHandler',obj)
}
const sortHandler = (val:any)=>{
queryObj.OrderByType = val=='descending'?2:1
queryObj.value.OrderByType = val.order=='descending'?2:1
let obj = {
OrderByType: queryObj.OrderByType
OrderByType: queryObj.value.OrderByType
}
emit('refreshHandler',obj)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment