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
47e80269
Commit
47e80269
authored
Nov 01, 2024
by
shirlyn.guo
👌🏻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改删除弹窗
parent
d59b11d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
personal-app.vue
src/views/personal-space/personal-app/personal-app.vue
+4
-8
No files found.
src/views/personal-space/personal-app/personal-app.vue
View file @
47e80269
...
...
@@ -133,20 +133,16 @@ function handleEnterKeypress(event: KeyboardEvent) {
}
function
handleDeletePersonalApp
(
agentId
:
string
)
{
window
.
$dialog
.
warning
({
title
:
t
(
'personal_space_module.agent_module.agent_list_module.delete_agent_dialog_title'
),
content
:
t
(
'personal_space_module.agent_module.agent_list_module.delete_agent_dialog_content'
),
negativeText
:
t
(
'common_module.cancel_btn_text'
),
positiveText
:
t
(
'common_module.confirm_btn_text'
),
onPositiveClick
:
async
()
=>
{
window
.
$message
.
ctWarning
(
t
(
'personal_space_module.agent_module.agent_list_module.delete_agent_dialog_title'
))
.
then
(()
=>
{
fetchDeleteApplication
(
agentId
).
then
((
res
)
=>
{
if
(
res
.
code
!==
0
)
return
window
.
$message
.
success
(
t
(
'common_module.delete_success_message'
))
agentAppList
.
value
.
length
===
1
&&
(
pagingInfo
.
value
.
pageNo
=
pagingInfo
.
value
.
pageNo
-
1
)
getApplicationList
()
})
},
})
})
}
function
handleChangeApplicationsSaleStatus
(
personalApp
:
PersonalAppConfigState
)
{
...
...
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