修改错题本bug

This commit is contained in:
田岩
2025-09-15 08:35:09 +08:00
parent 354aa5b041
commit c8216c5cb6
14 changed files with 253 additions and 228 deletions
+2 -1
View File
@@ -6,13 +6,13 @@ import {
} from 'vue';
export default function useZpaging({
pagingRef, // 必传:z-paging组件的ref
fetchFunction, // 必传:接口请求函数
searchKey = '' // 可选:搜索参数名,默认'searchText'
}) {
const total = ref(-1);
const data_list = ref([]);
const searchText = ref('');
const pagingRef = ref(null);
const queryList = async (pageNo, pageSize) => {
try {
const requestParams = {
@@ -52,6 +52,7 @@ export default function useZpaging({
}
};
return {
pagingRef,
queryList,
reload,
search,