diff --git a/language/original-api.txt b/language/original-api.txt
index 3b194f5de..d833723e8 100644
--- a/language/original-api.txt
+++ b/language/original-api.txt
@@ -840,3 +840,7 @@ AI机器人不存在
文件不存在或已被删除
报告不存在或已被删除
文件读取失败:(*)
+
+请输入删除备注
+删除备注长度限制(*)个字
+系统机器人不能删除
diff --git a/language/original-web.txt b/language/original-web.txt
index 7abe2fcf1..6d125155e 100644
--- a/language/original-web.txt
+++ b/language/original-web.txt
@@ -2019,3 +2019,10 @@ API请求的URL路径
文件读取失败:(*)
独立窗口显示
在消息中显示
+
+添加机器人
+消息保留
+您没有创建机器人
+清理时间
+请输入备注原因
+删除机器人:(*)
diff --git a/public/images/application/mybot.svg b/public/images/application/mybot.svg
new file mode 100644
index 000000000..ceeb151fc
--- /dev/null
+++ b/public/images/application/mybot.svg
@@ -0,0 +1 @@
+
diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue
index fb7b6e9dc..b572d29f8 100755
--- a/resources/assets/js/pages/manage/components/ChatInput/index.vue
+++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue
@@ -1203,6 +1203,13 @@ export default {
return "";
},
+ insertText(text) {
+ if (this.quill) {
+ const {index} = this.quill.getSelection(true);
+ this.quill.insertText(index, text)
+ }
+ },
+
setText(value) {
if (this.quill) {
this.quill.setText(value)
diff --git a/resources/assets/js/pages/manage/components/DialogView/template/bot-hello.vue b/resources/assets/js/pages/manage/components/DialogView/template/bot-hello.vue
index ff6b40b42..637de5d06 100644
--- a/resources/assets/js/pages/manage/components/DialogView/template/bot-hello.vue
+++ b/resources/assets/js/pages/manage/components/DialogView/template/bot-hello.vue
@@ -1,6 +1,6 @@
-
/list - {{$L("机器人列表")}}
-/newbot ({{$L('机器人名称')}}) - {{$L("创建机器人")}}
+/list - {{$L("机器人列表")}}
+/newbot ({{$L('机器人名称')}}) - {{$L("创建机器人")}}
-/info - {{$L("查看机器人详情")}}
+/info - {{$L("查看机器人详情")}}
{{$L("修改机器人")}}
-/setname{{IDLabel}} ({{$L('机器人名称')}}) - {{$L("修改机器人名称")}}
-/deletebot{{IDLabel}} - {{$L("删除机器人")}}
-/clearday{{IDLabel}} ({{$L('天数')}}) - {{$L("设置保留消息时间(默认30天)")}}
-/webhook{{IDLabel}} [url] - {{$L("设置消息Webhook(详情请看 API接口文档)")}}
+/setname{{IDLabel}} ({{$L('机器人名称')}}) - {{$L("修改机器人名称")}}
+/deletebot{{IDLabel}} - {{$L("删除机器人")}}
+/clearday{{IDLabel}} ({{$L('天数')}}) - {{$L("设置保留消息时间(默认30天)")}}
+/webhook{{IDLabel}} [url] - {{$L("设置消息Webhook(详情请看 API接口文档)")}}
{{$L("机器人设置")}}
-/token{{IDLabel}} - {{$L("生成Token令牌")}}
-/revoke{{IDLabel}} - {{$L("撤销机器人Token令牌")}}
+/token{{IDLabel}} - {{$L("生成Token令牌")}}
+/revoke{{IDLabel}} - {{$L("撤销机器人Token令牌")}}
{{$L("会话管理")}}
-/dialog{{IDLabel}} [{{$L('搜索关键词')}}] - {{$L("查看会话ID")}}
+/dialog{{IDLabel}} [{{$L('搜索关键词')}}] - {{$L("查看会话ID")}}
{{$L("API接口文档")}}
-/api - {{$L("查看接口列表")}}
+/api - {{$L("查看接口列表")}}
diff --git a/resources/assets/js/pages/manage/components/DialogView/template/other.vue b/resources/assets/js/pages/manage/components/DialogView/template/other.vue index 248bf7dad..ac0ef5a75 100644 --- a/resources/assets/js/pages/manage/components/DialogView/template/other.vue +++ b/resources/assets/js/pages/manage/components/DialogView/template/other.vue @@ -1,6 +1,6 @@