Commit f6ac7468 authored by tyyin lan's avatar tyyin lan

chore(插件中心): 应用列表获取取消数量限制

parent 4a19ebf4
...@@ -14,8 +14,8 @@ export function fetchSaveAgentApplication<T>(payload: object) { ...@@ -14,8 +14,8 @@ export function fetchSaveAgentApplication<T>(payload: object) {
* @param payload 查询参数 * @param payload 查询参数
* @returns 获取应用列表 * @returns 获取应用列表
*/ */
export function fetchGetApplicationList<T>(payload: object) { export function fetchGetApplicationList<T>(payload: object, paramsObj = {}) {
return request.post<T>('/agentApplicationInfoRest/getListByMember.json', payload) return request.post<T>('/agentApplicationInfoRest/getListByMember.json', payload, { params: paramsObj })
} }
/** /**
......
...@@ -44,7 +44,10 @@ watch(showModal, (newVal) => { ...@@ -44,7 +44,10 @@ watch(showModal, (newVal) => {
function getApplicationList() { function getApplicationList() {
getApplicationListLoading.value = true getApplicationListLoading.value = true
fetchGetApplicationList<ApplicationItemInfoInterface[]>({ query: searchKeyword.value.trim(), publishStatus: '' }) fetchGetApplicationList<ApplicationItemInfoInterface[]>(
{ query: searchKeyword.value.trim(), publishStatus: '' },
{ pageNo: 1, pageSize: 9999999 },
)
.then((res) => { .then((res) => {
if (res.code !== 0) return '' if (res.code !== 0) return ''
......
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