diff --git a/.env.development b/.env.development
index 53629114..44824331 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,7 @@
ENV = 'development'
# 'development'
-VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
+VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = ' http://25.18.122.66:9786'
#sit
# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue
index 8bf367ec..47b1c5f9 100644
--- a/src/pages/course/study.vue
+++ b/src/pages/course/study.vue
@@ -206,7 +206,6 @@
const isContinue = ref('N')
// 初始化数据
const getData = async flag => {
- isContinue.value = 'N'
try {
const {
body
@@ -247,6 +246,7 @@
.then(res => {
if (res) {
// 继续学习 , 获取学习历史接口
+ isContinue.value = 'Y'
// 滚动到最下面
scrollToBottomNow()
sendMessage({
@@ -268,7 +268,6 @@
}
}
} catch {} finally {
- isContinue.value = 'Y'
watchFlag.value += 1
}
}
@@ -823,7 +822,7 @@
crsId: crsId.value,
teacherNo: choiceTeacher.value,
studyType: isPreview.value ? 'P' : 'S',
- isContinue: isContinue.value,
+ isContinue: 'Y',
stdyId: stdyId.value
}).then(res => {
const {
diff --git a/src/pages/example/dialog.vue b/src/pages/example/dialog.vue
index 83657bf9..f24852b9 100644
--- a/src/pages/example/dialog.vue
+++ b/src/pages/example/dialog.vue
@@ -50,7 +50,7 @@
:activeVoiceId="activeVoiceTalkingItemId" @handleEvents="talkItemEvents">
-
@@ -605,8 +605,9 @@
isLoading: true
});
scrollToBottomNow();
- commonUploadVoiceFile(voicePath, '/traask/traAskchat/voiceTrans', {})
+ commonUploadVoiceFile(voicePath, '/traask/traTestchat/voiceTrans', {})
.then((_res) => {
+ console.log(_res)
if (!!(_res.body.transContent || '').trim()) {
talkingList.value.pop();
askData.value = {
diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue
index 71a498d2..cccefe25 100644
--- a/src/pages/index/dialog.vue
+++ b/src/pages/index/dialog.vue
@@ -38,7 +38,7 @@
-
+
{{ userInfo ? 'Hi,我是' + userInfo?.mascotInfo?.mascotName : 'Hi' }}
工作学习,我都能帮你!
@@ -174,6 +174,7 @@
const feedbackRef = ref();
const watermarkRef = ref();
const userInfo = ref(getUserInfo());
+ const luimgAddr = computed(()=> unref(userInfo)?.mascotInfo?.imgAddr || '')
const userParams = '/' + (unref(userInfo)?.userName??'') + ' ' + (unref(userInfo)?.loginName??'');
const questionList = ref([
// '对公小程序开户流程?',
@@ -840,6 +841,7 @@
uni.offKeyboardHeightChange(setHeight);
});
onShow(() => {
+ userInfo.value = getUserInfo();
uni.onKeyboardHeightChange(setHeight);
nextTick(() => {
watermarkRef.value?.updateWatermarkText();