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
3c0c6cba
Commit
3c0c6cba
authored
Nov 26, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 未创建应用时多模型调试按钮显示且禁用
parent
9d58a803
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
app-preview.vue
...nal-space/personal-app-setting/components/app-preview.vue
+7
-2
No files found.
src/views/personal-space/personal-app-setting/components/app-preview.vue
View file @
3c0c6cba
...
...
@@ -89,6 +89,8 @@ function handleUpdateContinueQuestionStatus(status: 'default' | 'close') {
}
function
handleTurnMultiModelDialogue
()
{
if
(
!
personalAppConfigStore
.
baseInfo
.
agentId
)
return
router
.
push
({
name
:
'MultiModelDialogue'
,
params
:
{
...
...
@@ -113,8 +115,11 @@ function handleOpenMemoryPreviewModal(MemoryTabName: string) {
<div
class=
"flex items-center"
>
<div
v-show=
"personalAppConfigStore.baseInfo.agentId"
class=
"text-font-color hover:text-theme-color cursor-pointer"
:class=
"
personalAppConfigStore.baseInfo.agentId
? 'text-font-color hover:text-theme-color cursor-pointer'
: 'text-gray-font-color cursor-not-allowed'
"
@
click=
"handleTurnMultiModelDialogue"
>
<i
class=
"iconfont icon-moxing mr-1 text-sm"
/>
...
...
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