ct-component-plus 0.0.35 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -128,8 +128,10 @@ export default {
|
|
|
128
128
|
const getPageData = async (download = false) => {
|
|
129
129
|
let dataP = {
|
|
130
130
|
...state.searchParams,
|
|
131
|
-
...state.sortObj,
|
|
132
131
|
};
|
|
132
|
+
if (state.sortObj?.order && state.sortObj?.prop) {
|
|
133
|
+
dataP.sortObj = state.sortObj;
|
|
134
|
+
}
|
|
133
135
|
if (props.pageSize) {
|
|
134
136
|
dataP.pageSize = props.pageSize;
|
|
135
137
|
dataP.pageNo = state.pageNo;
|