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
cdc86c04
Commit
cdc86c04
authored
Oct 11, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 更正confirm拼写
parent
56786c74
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
app-setting.vue
...nal-space/personal-app-setting/components/app-setting.vue
+2
-2
auto-config-modal.vue
...ace/personal-app-setting/components/auto-config-modal.vue
+5
-5
optimize-system-modal.vue
...personal-app-setting/components/optimize-system-modal.vue
+2
-2
No files found.
src/views/personal-space/personal-app-setting/components/app-setting.vue
View file @
cdc86c04
...
...
@@ -839,14 +839,14 @@ function handleStopGenerate() {
v-model:is-show-modal=
"isShowAutoConfigModal"
:btn-loading=
"autoConfigBtnLoading"
modal-title=
"AI生成配置信息"
@
co
m
firm=
"handleSettingAgent"
@
co
n
firm=
"handleSettingAgent"
/>
<OptimizeSystemModal
v-model:is-show-modal=
"isShowOptimizeAgentSystemModal"
:btn-loading=
"false"
modal-title=
"角色指令优化"
@
co
m
firm=
"handleSettingAgentSystem"
@
co
n
firm=
"handleSettingAgentSystem"
/>
</template>
...
...
src/views/personal-space/personal-app-setting/components/auto-config-modal.vue
View file @
cdc86c04
...
...
@@ -11,7 +11,7 @@ interface Props {
interface
Emits
{
(
e
:
'update:isShowModal'
,
value
:
boolean
):
void
(
e
:
'co
m
firm'
,
value
:
string
):
void
(
e
:
'co
n
firm'
,
value
:
string
):
void
}
const
props
=
defineProps
<
Props
>
()
...
...
@@ -54,9 +54,9 @@ function handleCloseModal() {
emit
(
'update:isShowModal'
,
false
)
}
function
handleCo
m
firm
(
inputType
:
'random'
|
'input'
)
{
function
handleCo
n
firm
(
inputType
:
'random'
|
'input'
)
{
autoConfigInputType
.
value
=
inputType
emit
(
'co
m
firm'
,
inputType
===
'random'
?
''
:
autoConfigInputValue
.
value
)
emit
(
'co
n
firm'
,
inputType
===
'random'
?
''
:
autoConfigInputValue
.
value
)
}
</
script
>
...
...
@@ -83,7 +83,7 @@ function handleComfirm(inputType: 'random' | 'input') {
<NButton
:loading=
"isRandomBtnLoading"
class=
"h-[32px]! rounded-md! px-6! ml-4!"
@
click=
"handleCo
m
firm('random')"
@
click=
"handleCo
n
firm('random')"
>
随机生成
</NButton>
...
...
@@ -92,7 +92,7 @@ function handleComfirm(inputType: 'random' | 'input') {
type=
"primary"
:disabled=
"isDisabledBtn"
class=
"h-[32px]! px-6! rounded-md! ml-4!"
@
click=
"handleCo
m
firm('input')"
@
click=
"handleCo
n
firm('input')"
>
AI生成
</NButton>
...
...
src/views/personal-space/personal-app-setting/components/optimize-system-modal.vue
View file @
cdc86c04
...
...
@@ -14,7 +14,7 @@ interface Props {
interface
Emits
{
(
e
:
'update:isShowModal'
,
value
:
boolean
):
void
(
e
:
'co
m
firm'
,
value
:
string
):
void
(
e
:
'co
n
firm'
,
value
:
string
):
void
}
const
props
=
defineProps
<
Props
>
()
...
...
@@ -105,7 +105,7 @@ function handleCloseModal() {
}
function
handleAdditionalPrompt
()
{
emit
(
'co
m
firm'
,
agentSystem
.
value
)
emit
(
'co
n
firm'
,
agentSystem
.
value
)
}
</
script
>
...
...
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