处理加盟机构信息初始化页面多次请求同一接口

This commit is contained in:
1378012178@qq.com 2025-10-16 15:21:00 +08:00
parent 587cec1ca5
commit f16864ee55
1 changed files with 0 additions and 16 deletions

View File

@ -70,15 +70,6 @@ function searchQuery() {
orgListComRef.value?.reload(); orgListComRef.value?.reload();
} }
function reload() {
//
queryParam.pageSize = pageParams.value.pageSize;
queryParam.pageNo = pageParams.value.pageNo;
getOrgInfo(queryParam).then(res => {
orgTableList.value = res;
});
}
/** /**
* 重置 * 重置
*/ */
@ -87,13 +78,6 @@ function searchReset() {
orgListComRef.value?.searchReset() orgListComRef.value?.searchReset()
} }
//
onMounted(() => {
reload();
orgListComRef.value?.reload();
});
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>