Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
f6ac7468
Commit
f6ac7468
authored
Jan 23, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(插件中心): 应用列表获取取消数量限制
parent
4a19ebf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
agent-application.ts
src/apis/agent-application.ts
+2
-2
application-selection-modal.vue
src/views/plugin-center/application-selection-modal.vue
+4
-1
No files found.
src/apis/agent-application.ts
View file @
f6ac7468
...
@@ -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
}
)
}
}
/**
/**
...
...
src/views/plugin-center/application-selection-modal.vue
View file @
f6ac7468
...
@@ -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
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment