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
cfbf3fc2
Commit
cfbf3fc2
authored
Nov 15, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
fix: 保存应用时标题不为空 See merge request
!83
parents
bdd27a40
eb99234e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
app-setting.vue
...nal-space/personal-app-setting/components/app-setting.vue
+10
-2
No files found.
src/views/personal-space/personal-app-setting/components/app-setting.vue
View file @
cfbf3fc2
...
...
@@ -115,11 +115,19 @@ const handleSavePersonalAppConfig = useThrottleFn(
// 保存应用配置
async
function
handleSaveAgentApplication
()
{
if
(
!
baseInfo
.
value
.
agentTitle
)
{
return
}
await
fetchSaveAgentApplication
<
PersonalAppConfigState
>
(
personalAppConfigStore
.
$state
)
}
// 更新保存应用ID
async
function
handleUpdatePersonalAppId
()
{
if
(
!
baseInfo
.
value
.
agentTitle
)
{
return
}
const
res
=
await
fetchSaveAgentApplication
<
PersonalAppConfigState
>
(
personalAppConfigStore
.
$state
)
if
(
res
.
code
===
0
)
{
...
...
@@ -362,13 +370,13 @@ function handleStopGenerate() {
</span>
</div>
<NCollapse
:default-expanded-names=
"['
1']"
class=
"px-5
"
>
<NCollapse
:default-expanded-names=
"['
baseInfo']"
class=
"px-5"
display-directive=
"show
"
>
<template
#
arrow
>
<RightOne
theme=
"multi-color"
size=
"17"
:fill=
"['#333', '#333', '#333', '#333']"
/>
</
template
>
<NCollapseItem
:title=
"t('personal_space_module.agent_module.agent_setting_module.agent_config_module.base_info')"
name=
"
1
"
name=
"
baseInfo
"
class=
"my-[13px]!"
>
<div
class=
"justify-left flex items-start pl-5"
>
...
...
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