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
a46132ab
Commit
a46132ab
authored
Apr 28, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' of
https://gitlab.gsstcloud.com/poc/poc-fe
into beta-r
parents
e660b9f5
e43f3133
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
message-tip-modal.vue
src/components/message-tip-modal/message-tip-modal.vue
+13
-1
en.yaml
src/locales/langs/en.yaml
+1
-1
zh-cn.yaml
src/locales/langs/zh-cn.yaml
+1
-1
zh-hk.yaml
src/locales/langs/zh-hk.yaml
+1
-1
No files found.
src/components/message-tip-modal/message-tip-modal.vue
View file @
a46132ab
<
script
setup
lang=
"ts"
>
import
{
onMounted
,
reactive
,
ref
}
from
'vue'
import
{
onMounted
,
reactive
,
ref
,
watch
}
from
'vue'
import
{
useI18n
}
from
'vue-i18n'
import
{
useLayoutConfig
}
from
'@/composables/useLayoutConfig'
...
...
@@ -19,6 +19,18 @@ const modalOptions = reactive({
let
_modalStatusResolve
=
(
_value
?:
any
)
=>
{}
let
_modalStatusReject
=
(
_reason
?:
any
)
=>
{}
watch
(
()
=>
isShowModal
.
value
,
(
newVal
)
=>
{
if
(
!
newVal
)
{
modalOptions
.
content
=
''
modalOptions
.
title
=
t
(
'common_module.tip'
)
modalOptions
.
cancelText
=
t
(
'common_module.cancel_btn_text'
)
modalOptions
.
confirmText
=
t
(
'common_module.confirm_btn_text'
)
}
},
)
onMounted
(()
=>
{
window
.
$message
.
ctWarning
=
handleShowModal
})
...
...
src/locales/langs/en.yaml
View file @
a46132ab
...
...
@@ -162,7 +162,7 @@ common_module:
generate_warning_message
:
'
The
above
content
is
generated
by
AI
and
is
for
reference
only'
clear_message_popover_message
:
'
Clear
history
session'
clear_message_dialog_title
:
'
Are
you
sure
you
want
to
clear
the
conversation?'
clear_message_dialog_content
:
'
Clearing
the
session
will
clear
all
the
history
of
the
session
in
the
debug
area.
Are
you
sure
to
clear
the
sess
ion?'
clear_message_dialog_content
:
'
Clearing
the
conversation
will
clear
all
the
current
conversation
content.
Are
you
sure
to
clear
the
conversat
ion?'
cancel_associate_file_tip
:
'
No
longer
answer
around
this
file'
upload_file_limit
:
'
Only
a
single
file
can
be
uploaded
in
PDF,
DOC,
DOCX,
MD,
TXT
format,
up
to
10MB'
overwrite_file_tip
:
'
The
newly
uploaded
file
overwrites
the
original
file,
whether
to
continue
uploading'
...
...
src/locales/langs/zh-cn.yaml
View file @
a46132ab
...
...
@@ -162,7 +162,7 @@ common_module:
generate_warning_message
:
'
以上内容均由AI生成,仅供参考'
clear_message_popover_message
:
'
清空历史会话'
clear_message_dialog_title
:
'
确认要清空对话吗?'
clear_message_dialog_content
:
'
清空对话将清空
调试区域所有历史
对话内容,确定清空对话吗?'
clear_message_dialog_content
:
'
清空对话将清空
当前所有
对话内容,确定清空对话吗?'
cancel_associate_file_tip
:
'
不再围绕这个文件回答'
upload_file_limit
:
'
仅支持上传单个文件,支持PDF、DOC、DOCX、MD、TXT格式,最大10MB'
overwrite_file_tip
:
'
新上传的文件会覆盖原有文件,是否继续上传'
...
...
src/locales/langs/zh-hk.yaml
View file @
a46132ab
...
...
@@ -161,7 +161,7 @@ common_module:
generate_warning_message
:
'
以上內容均由AI生成,僅供參考'
clear_message_popover_message
:
'
清空歷史會話'
clear_message_dialog_title
:
'
確認要清空對話嗎?'
clear_message_dialog_content
:
'
清空對話將清空
調試區域所有歷史
對話內容,確定清空對話嗎?'
clear_message_dialog_content
:
'
清空對話將清空
當前所有
對話內容,確定清空對話嗎?'
cancel_associate_file_tip
:
'
不再圍繞這個文件回答'
upload_file_limit
:
'
僅支持上傳單個文件,支持PDF、DOC、DOCX、MD、TXT格式,最大10MB'
overwrite_file_tip
:
'
新上傳的文件會覆蓋原有文件,是否繼續上傳'
...
...
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