bhd-components 0.7.7 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{61049688.esm.es5.development.js → 072bdcac.esm.es5.development.js} +83 -7903
- package/dist/d634a723.esm.es5.production.js +468 -0
- package/dist/index.esm.es5.development.css +960 -958
- package/dist/index.esm.es5.development.js +124 -45
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/es2017/customerService/html2canvas.test.js +8580 -0
- package/es2017/customerService/index.d.ts +2 -0
- package/es2017/customerService/index.js +116 -40
- package/es2017/customerService/index.module.less +1 -1
- package/esm/customerService/html2canvas.test.js +8581 -0
- package/esm/customerService/index.d.ts +2 -0
- package/esm/customerService/index.js +123 -43
- package/esm/customerService/index.module.less +1 -1
- package/package.json +1 -1
- package/dist/51f5ba3f.esm.es5.production.js +0 -485
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable,
|
|
2
|
-
export {
|
|
1
|
+
import { z as zhCN, C as ConfigProvider, _ as _extends, a as _object_destructuring_empty, j as jsx, b as _object_spread_props, S as StyleProvider, t as transform, c as _object_spread, d as _sliced_to_array, T as Tooltip, e as Table$2, I as Icon, f as jsxs, m as message, E as ExclamationCircleFilled, P as Pagination, g as Select, h as CaretDownOutlined, M as Modal, i as _inherits, k as _create_super, l as _create_class, n as _class_call_check, o as _define_property, p as _assert_this_initialized, q as _async_to_generator, L as LeftOutlined, R as RightOutlined, r as MinusOutlined, s as PlusOutlined, u as __generator, v as Input, w as SearchOutlined, x as CloseOutlined, X, y as I, H, A as Remarkable, D as Drawer, B as HighlightJS, F as _to_consumable_array, Z as ZoomInOutlined } from './072bdcac.esm.es5.development.js';
|
|
2
|
+
export { G as Affix, J as Alert, K as Anchor, aF as App, N as AutoComplete, O as Avatar, U as BackTop, V as Badge, W as Breadcrumb, Y as Button, $ as Calendar, a0 as Card, a1 as Carousel, a2 as Cascader, a3 as Checkbox, a4 as Col, a5 as Collapse, a6 as DatePicker, a7 as Descriptions, a8 as Divider, D as Drawer, a9 as Dropdown, aa as Empty, Q as FloatButton, ab as Form, ac as Grid, ad as Image, v as Input, ae as InputNumber, af as Layout, ag as List, ah as Mentions, ai as Menu, M as Modal, ak as Popconfirm, al as Popover, am as Progress, aM as QRCode, an as Radio, ao as Rate, ap as Result, aq as Row, ar as Segmented, g as Select, as as Skeleton, at as Slider, au as Space, av as Spin, aw as Statistic, ax as Steps, ay as Switch, az as Tabs, aA as Tag, aC as TimePicker, aD as Timeline, T as Tooltip, aE as Tour, aG as Transfer, aH as Tree, aI as TreeSelect, aJ as Typography, aK as Upload, aL as Watermark, aO as en_US, aj as notification, aB as theme, aN as version, z as zh_CN } from './072bdcac.esm.es5.development.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { useState, useRef, useEffect, useLayoutEffect, forwardRef, useImperativeHandle } from 'react';
|
|
5
5
|
import { Fragment } from 'react/jsx-runtime';
|
|
@@ -3166,7 +3166,7 @@ var AppViewImage = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
3166
3166
|
});
|
|
3167
3167
|
var ViewImage$1 = AppViewImage;
|
|
3168
3168
|
|
|
3169
|
-
var modules_63b47c51 = {"service_ChatWindow_Drawer":"
|
|
3169
|
+
var modules_63b47c51 = {"service_ChatWindow_Drawer":"index_module_service_ChatWindow_Drawer__a8c40776","ChatWindow_Modal":"index_module_ChatWindow_Modal__a8c40776","ChatWindow_Drawer":"index_module_ChatWindow_Drawer__a8c40776","header_wrap":"index_module_header_wrap__a8c40776","top":"index_module_top__a8c40776","user":"index_module_user__a8c40776","count":"index_module_count__a8c40776","operate":"index_module_operate__a8c40776","line":"index_module_line__a8c40776","popover_main":"index_module_popover_main__a8c40776","popover":"index_module_popover__a8c40776","header_wrap_newlabo":"index_module_header_wrap_newlabo__a8c40776","Drawer_main":"index_module_Drawer_main__a8c40776","loading":"index_module_loading__a8c40776","message_con":"index_module_message_con__a8c40776","left":"index_module_left__a8c40776","head_sculpture":"index_module_head_sculpture__a8c40776","main_content":"index_module_main_content__a8c40776","right":"index_module_right__a8c40776","main":"index_module_main__a8c40776","main_content_flag":"index_module_main_content_flag__a8c40776","operate_modal":"index_module_operate_modal__a8c40776","operate_modal_bottom":"index_module_operate_modal_bottom__a8c40776","active":"index_module_active__a8c40776","stop_generate":"index_module_stop_generate__a8c40776","icon":"index_module_icon__a8c40776","find_teacher":"index_module_find_teacher__a8c40776","stop_findTeacher":"index_module_stop_findTeacher__a8c40776","content":"index_module_content__a8c40776","content_child":"index_module_content_child__a8c40776","sign":"index_module_sign__a8c40776","ask_question":"index_module_ask_question__a8c40776","association_problem":"index_module_association_problem__a8c40776","img_con":"index_module_img_con__a8c40776","mask_zoom":"index_module_mask_zoom__a8c40776","copyCode":"index_module_copyCode__a8c40776","time":"index_module_time__a8c40776","citation_content":"index_module_citation_content__a8c40776","text_exceed":"index_module_text_exceed__a8c40776","popover_content":"index_module_popover_content__a8c40776","Drawer_main_newlabo":"index_module_Drawer_main_newlabo__a8c40776","Drawer_main_newlabo_no_pic":"index_module_Drawer_main_newlabo_no_pic__a8c40776","Drawer_buttom_Issues_List":"index_module_Drawer_buttom_Issues_List__a8c40776","issues_list_teacherList":"index_module_issues_list_teacherList__a8c40776","item":"index_module_item__a8c40776","issues_list":"index_module_issues_list__a8c40776","issues_list_flag":"index_module_issues_list_flag__a8c40776","Drawer_buttom":"index_module_Drawer_buttom__a8c40776","input_wrap":"index_module_input_wrap__a8c40776","input":"index_module_input__a8c40776","picture_layout":"index_module_picture_layout__a8c40776","icon_close":"index_module_icon_close__a8c40776","icon_zoom":"index_module_icon_zoom__a8c40776","anticon":"index_module_anticon__a8c40776","no_AI":"index_module_no_AI__a8c40776","screenshot":"index_module_screenshot__a8c40776","disabled":"index_module_disabled__a8c40776","content_main":"index_module_content_main__a8c40776","content_con":"index_module_content_con__a8c40776","delete_quote":"index_module_delete_quote__a8c40776","sending":"index_module_sending__a8c40776","Drawer_buttom_Issues_List_newlabo":"index_module_Drawer_buttom_Issues_List_newlabo__a8c40776","main_list":"index_module_main_list__a8c40776","chat_content":"index_module_chat_content__a8c40776","popover_main_content":"index_module_popover_main_content__a8c40776","popover_main_content_name":"index_module_popover_main_content_name__a8c40776","teacher_layout":"index_module_teacher_layout__a8c40776","bottom":"index_module_bottom__a8c40776","delete":"index_module_delete__a8c40776","num":"index_module_num__a8c40776","shrink":"index_module_shrink__a8c40776","teacher_layout_newlabo":"index_module_teacher_layout_newlabo__a8c40776","teacher_layout_modal":"index_module_teacher_layout_modal__a8c40776","ai":"index_module_ai__a8c40776","user_info":"index_module_user_info__a8c40776","message":"index_module_message__a8c40776","con":"index_module_con__a8c40776","teacher_layout_modal_newlabo":"index_module_teacher_layout_modal_newlabo__a8c40776","history_list":"index_module_history_list__a8c40776","search_layout":"index_module_search_layout__a8c40776","mymove":"index_module_mymove__a8c40776","title":"index_module_title__a8c40776","search_top":"index_module_search_top__a8c40776","list_item":"index_module_list_item__a8c40776","list_summary":"index_module_list_summary__a8c40776","head_img":"index_module_head_img__a8c40776","list_desc":"index_module_list_desc__a8c40776","name":"index_module_name__a8c40776","decs":"index_module_decs__a8c40776","open":"index_module_open__a8c40776","list_summary_active":"index_module_list_summary_active__a8c40776","list_detail":"index_module_list_detail__a8c40776","list":"index_module_list__a8c40776","list_more":"index_module_list_more__a8c40776","no_data":"index_module_no_data__a8c40776","history_list_broadside":"index_module_history_list_broadside__a8c40776","screenshot_Modal":"index_module_screenshot_Modal__a8c40776","screenshot_Modal_btn":"index_module_screenshot_Modal_btn__a8c40776"};
|
|
3170
3170
|
|
|
3171
3171
|
//消息已读
|
|
3172
3172
|
var readMessage = function(roomId, urllocation, userData, http) {
|
|
@@ -4135,7 +4135,7 @@ var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAA
|
|
|
4135
4135
|
var styles = modules_63b47c51;
|
|
4136
4136
|
var TextArea = Input.TextArea;
|
|
4137
4137
|
var CustomerService = function(props) {
|
|
4138
|
-
var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId; props.config;
|
|
4138
|
+
var userData = props.userData, http = props.http, urllocation = props.urllocation, onCancel = props.onCancel, serverName = props.serverName, fetchEventSource = props.fetchEventSource, initShowType = props.initShowType, onEvent = props.onEvent, stepIds = props.stepIds, stepId = props.stepId, screenshotAreaId = props.screenshotAreaId; props.config;
|
|
4139
4139
|
// const { bese64String, startRecord, stopRecord } = useMediaRecorder(); //语音转文字
|
|
4140
4140
|
// const [voiceRecordingStatus, setVoiceRecordingStatus] = useState(3); //语音录制状态 3,语音识别完成 2,录制中, 1,录制结束
|
|
4141
4141
|
var _useState = _sliced_to_array(useState([]), 2), copyTextOBJ = _useState[0], setCopyTextObj = _useState[1]; //复制的消息id
|
|
@@ -4198,28 +4198,58 @@ var CustomerService = function(props) {
|
|
|
4198
4198
|
});
|
|
4199
4199
|
useEffect(function() {
|
|
4200
4200
|
if (showType == 5) {
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4201
|
+
// 获取屏幕流
|
|
4202
|
+
// 获取 video 元素和 canvas 元素
|
|
4203
|
+
// var video = document.getElementById('container_html5_api');
|
|
4204
|
+
// // const canvas = document.createElement('canvas');
|
|
4205
|
+
// const canvas = document.getElementById('canvas_test');
|
|
4206
|
+
// var context = canvas.getContext('2d');
|
|
4207
|
+
// // 设置 canvas 尺寸
|
|
4208
|
+
// canvas.width = video.videoWidth/4;
|
|
4209
|
+
// canvas.height = video.videoHeight/4;
|
|
4210
|
+
// // 在 canvas 上绘制 video 的当前帧
|
|
4211
|
+
// context.drawImage(video, 0, 0, canvas.width, canvas.height);
|
|
4212
|
+
// // 使用 html2canvas 对 canvas 进行截图
|
|
4213
|
+
// html2canvas(canvas,{
|
|
4214
|
+
// scale: 1,
|
|
4215
|
+
// useCORS: true,
|
|
4216
|
+
// logging: true,
|
|
4217
|
+
// }).then(function(screenshot) {
|
|
4218
|
+
// // 将截图显示在页面上,或者进行其他操作
|
|
4219
|
+
// document.body.appendChild(screenshot);
|
|
4220
|
+
// setTimeout(()=>{
|
|
4221
|
+
// let url = screenshot.toDataURL('image/png');
|
|
4222
|
+
// console.log(url);
|
|
4223
|
+
// },3000)
|
|
4224
|
+
// // console.log("container_html5_apicontainer_html5_api",screenshot)
|
|
4225
|
+
// // console.log(screenshot.toDataURL('image/jpeg'))
|
|
4226
|
+
// });
|
|
4227
|
+
// // 显示图片或者做其他操作
|
|
4228
|
+
try {
|
|
4229
|
+
setImgBese64("");
|
|
4230
|
+
html2canvas(document.getElementsByTagName("html")[0]).then(function(canvas) {
|
|
4231
|
+
console.log(canvas, 22222);
|
|
4232
|
+
setTimeout(function() {
|
|
4233
|
+
var dom = document.getElementById(screenshotAreaId);
|
|
4234
|
+
//let dom = document.getElementById("container_html5_api");
|
|
4235
|
+
//let dom = document.getElementsByTagName('html')[0];
|
|
4236
|
+
html2canvas(dom, {
|
|
4237
|
+
useCORS: true,
|
|
4238
|
+
// allowTaint: true, // 污染处理
|
|
4239
|
+
scale: 1
|
|
4240
|
+
}).then(function(canvas) {
|
|
4241
|
+
// document.body.appendChild(canvas);
|
|
4242
|
+
// document.body.appendChild(canvas);
|
|
4243
|
+
console.log(canvas, 4444444);
|
|
4244
|
+
// var base64URL = canvas.toDataURL('image/jpeg')
|
|
4245
|
+
var base64URL = canvas.toDataURL("image/jpg", 1.0);
|
|
4246
|
+
setImgBese64(base64URL);
|
|
4247
|
+
});
|
|
4248
|
+
}, 100);
|
|
4249
|
+
});
|
|
4250
|
+
} catch (error) {
|
|
4251
|
+
console.log(error);
|
|
4252
|
+
}
|
|
4223
4253
|
}
|
|
4224
4254
|
if (showType != 1 && !firstLoad && pageCount > 0) {
|
|
4225
4255
|
setFirstLoad(true);
|
|
@@ -4438,8 +4468,11 @@ var CustomerService = function(props) {
|
|
|
4438
4468
|
};
|
|
4439
4469
|
if (pageNumHistory <= 1) {
|
|
4440
4470
|
setHistoryMessageList(function(historyMessageList) {
|
|
4441
|
-
var newHistoryMessageList = historyMessageList.
|
|
4442
|
-
|
|
4471
|
+
var newHistoryMessageList = historyMessageList.filter(function(e) {
|
|
4472
|
+
return e.id != "123456_date";
|
|
4473
|
+
});
|
|
4474
|
+
newHistoryMessageList.push(_object_spread_props(_object_spread({}, obj), {
|
|
4475
|
+
id: "123456_date",
|
|
4443
4476
|
upvoted: false,
|
|
4444
4477
|
downvoted: false,
|
|
4445
4478
|
quotedMessage: "",
|
|
@@ -4644,6 +4677,40 @@ var CustomerService = function(props) {
|
|
|
4644
4677
|
//点击知识库的问题,或者是点击问候消息
|
|
4645
4678
|
if (questions.length > 0) {
|
|
4646
4679
|
questions = questions[0];
|
|
4680
|
+
//知识库联想的问题没有答案
|
|
4681
|
+
if (!questions.answer && userData.modules.some(function(item) {
|
|
4682
|
+
return item.short == "AIservice";
|
|
4683
|
+
})) {
|
|
4684
|
+
var sendData = {
|
|
4685
|
+
//相关数据
|
|
4686
|
+
roomId: roomId,
|
|
4687
|
+
message: questions.question,
|
|
4688
|
+
quotedMessage: "",
|
|
4689
|
+
regenerate: true,
|
|
4690
|
+
generateUpvoteOrDownvoteMessage: false
|
|
4691
|
+
};
|
|
4692
|
+
if (pageNumHistory <= 1) {
|
|
4693
|
+
setHistoryMessageList(function(historyMessageList) {
|
|
4694
|
+
var newHistoryMessageList = historyMessageList.concat({
|
|
4695
|
+
roomId: roomId,
|
|
4696
|
+
sender: mid,
|
|
4697
|
+
recevier: "AI",
|
|
4698
|
+
message: questions.question,
|
|
4699
|
+
quotedMessage: "",
|
|
4700
|
+
id: "654321",
|
|
4701
|
+
upvoted: false,
|
|
4702
|
+
downvoted: false,
|
|
4703
|
+
createdAt: getDataTime(-1),
|
|
4704
|
+
extraInfo: JSON.stringify([])
|
|
4705
|
+
});
|
|
4706
|
+
return newHistoryMessageList;
|
|
4707
|
+
});
|
|
4708
|
+
}
|
|
4709
|
+
setFinished(false);
|
|
4710
|
+
aiSendQuestions(3, sendData, 1);
|
|
4711
|
+
return;
|
|
4712
|
+
}
|
|
4713
|
+
console.log(questions, "知识库内容11111");
|
|
4647
4714
|
//向知识库发送问题 type 1,发送问题 2 发送答案 obj 需要的参数
|
|
4648
4715
|
var obj = {
|
|
4649
4716
|
roomId: roomId,
|
|
@@ -4669,7 +4736,7 @@ var CustomerService = function(props) {
|
|
|
4669
4736
|
} else if (userData.modules.some(function(item) {
|
|
4670
4737
|
return item.short == "AIservice";
|
|
4671
4738
|
})) {
|
|
4672
|
-
var
|
|
4739
|
+
var sendData1 = {
|
|
4673
4740
|
//相关数据
|
|
4674
4741
|
roomId: roomId,
|
|
4675
4742
|
message: keyWord,
|
|
@@ -4678,16 +4745,8 @@ var CustomerService = function(props) {
|
|
|
4678
4745
|
generateUpvoteOrDownvoteMessage: false
|
|
4679
4746
|
};
|
|
4680
4747
|
var imageUrl = "";
|
|
4681
|
-
// if(citationContent.imageUrl){
|
|
4682
|
-
// sendData.image = citationContent.imageUrl;
|
|
4683
|
-
// imageUrl = citationContent.imageUrl;
|
|
4684
|
-
// getBase64Image(citationContent.imageUrl).then((res)=>{
|
|
4685
|
-
// console.log(res,33333);
|
|
4686
|
-
// });
|
|
4687
|
-
// console.log(imageUrl,'转换的bese64');
|
|
4688
|
-
// }
|
|
4689
4748
|
if (screenshotBese64) {
|
|
4690
|
-
|
|
4749
|
+
sendData1.image = screenshotBese64;
|
|
4691
4750
|
imageUrl = screenshotBese64;
|
|
4692
4751
|
}
|
|
4693
4752
|
if (pageNumHistory <= 1) {
|
|
@@ -4713,7 +4772,7 @@ var CustomerService = function(props) {
|
|
|
4713
4772
|
});
|
|
4714
4773
|
}
|
|
4715
4774
|
setFinished(false);
|
|
4716
|
-
aiSendQuestions(3,
|
|
4775
|
+
aiSendQuestions(3, sendData1, 1);
|
|
4717
4776
|
setScreenshotBese64("");
|
|
4718
4777
|
//存在AI客服
|
|
4719
4778
|
} else {
|
|
@@ -4804,6 +4863,22 @@ var CustomerService = function(props) {
|
|
|
4804
4863
|
});
|
|
4805
4864
|
});
|
|
4806
4865
|
}, 60 * 1000);
|
|
4866
|
+
if (props.config && props.config.type == "video" && props.config.params) {
|
|
4867
|
+
var params = props.config.params;
|
|
4868
|
+
var videoId = params.videoId;
|
|
4869
|
+
var watchTime = params.videoProgress;
|
|
4870
|
+
var courseId = getQuery("yc_id");
|
|
4871
|
+
var sectionId = params.VideoBriefSummaryId;
|
|
4872
|
+
obj.contexts = [
|
|
4873
|
+
{
|
|
4874
|
+
"type": "VIDEO",
|
|
4875
|
+
"courseId": courseId,
|
|
4876
|
+
"sectionId": sectionId,
|
|
4877
|
+
"videoId": videoId,
|
|
4878
|
+
"watchTime": watchTime
|
|
4879
|
+
}
|
|
4880
|
+
];
|
|
4881
|
+
}
|
|
4807
4882
|
var data = JSON.stringify(obj);
|
|
4808
4883
|
setKeyWord("");
|
|
4809
4884
|
setQuestionsList([]);
|
|
@@ -5349,8 +5424,7 @@ var CustomerService = function(props) {
|
|
|
5349
5424
|
} else if (flag == 4) {
|
|
5350
5425
|
data = {
|
|
5351
5426
|
page: 1,
|
|
5352
|
-
maxPageSize: 4
|
|
5353
|
-
question: value
|
|
5427
|
+
maxPageSize: 4
|
|
5354
5428
|
};
|
|
5355
5429
|
} else {
|
|
5356
5430
|
data = {
|
|
@@ -5367,7 +5441,7 @@ var CustomerService = function(props) {
|
|
|
5367
5441
|
if (flag == 1) {
|
|
5368
5442
|
setHotQuestionsList(questionList);
|
|
5369
5443
|
} else if (flag == 4) {
|
|
5370
|
-
|
|
5444
|
+
setHotQuestionsList(function(questionList) {
|
|
5371
5445
|
return _to_consumable_array(questionList).concat(_to_consumable_array(res.data.questions));
|
|
5372
5446
|
});
|
|
5373
5447
|
} else {
|
|
@@ -5391,9 +5465,8 @@ var CustomerService = function(props) {
|
|
|
5391
5465
|
var videoId = params.videoId;
|
|
5392
5466
|
var watchTime = params.videoProgress;
|
|
5393
5467
|
var courseId = getQuery("yc_id");
|
|
5394
|
-
var sectionId =
|
|
5395
|
-
if (videoId &&
|
|
5396
|
-
console.log("请求接口2222", config);
|
|
5468
|
+
var sectionId = params.VideoBriefSummaryId;
|
|
5469
|
+
if (videoId && courseId && sectionId) {
|
|
5397
5470
|
http.post("".concat(urllocation, "/chat-service/public/v1.0/knowledge-base/questions:recommend"), {
|
|
5398
5471
|
"recommendedQuestions": flag == 2 ? recommendeQuestionID.current : [
|
|
5399
5472
|
""
|
|
@@ -5420,6 +5493,9 @@ var CustomerService = function(props) {
|
|
|
5420
5493
|
resettingBottomHei();
|
|
5421
5494
|
scrollToBottom();
|
|
5422
5495
|
console.log(data, 99999);
|
|
5496
|
+
if (data.length < 4) {
|
|
5497
|
+
getQuestiionsList("", 4);
|
|
5498
|
+
}
|
|
5423
5499
|
}
|
|
5424
5500
|
}).catch(function() {});
|
|
5425
5501
|
}
|
|
@@ -5804,6 +5880,9 @@ var CustomerService = function(props) {
|
|
|
5804
5880
|
var timeObj = parseDate(item.createdAt);
|
|
5805
5881
|
// console.log(item.message);
|
|
5806
5882
|
var message = item.message;
|
|
5883
|
+
if (message == "抱歉,我暂时无法回答这样的问题。" && props.config && props.config.type == "video") {
|
|
5884
|
+
videoPageQuestiionsList(2);
|
|
5885
|
+
}
|
|
5807
5886
|
var li;
|
|
5808
5887
|
// 是否需要显示日期
|
|
5809
5888
|
var itemIndex = historyMessageList.findIndex(function(ite) {
|