Browse Source

1.在夺宝奇兵大模型点击历史记录后,再切换到深度九大模型会报错的问题的解决

2.深度九大模型点击历史记录后,滚动到顶部
milestone-20250924-接入大财神工作流
no99 16 hours ago
parent
commit
144d8afc37
  1. 4
      src/views/components/HistoryRecord.vue
  2. 1
      src/views/deepNine.vue
  3. 13
      src/views/homePage.vue

4
src/views/components/HistoryRecord.vue

@ -750,8 +750,12 @@ const selectRecord = async (record) => {
}
dataStore.isFeedback = false;
historyData.value = result.data;
if (props.currentType == "AIchat") {
chatStore.dbqbClickRecord = historyData.value;
}
if (props.currentType == "deepNine") {
deepNineStore.dbqbClickRecord = historyData.value;
}
//
const stockData = {
queryText: result.data.keyword, // 使keyword

1
src/views/deepNine.vue

@ -2181,6 +2181,7 @@ watch(
content: "该内容由AI生成,请注意甄别",
end: true,
});
} catch (e) {
ElMessage.error("历史数据获取出错!");
console.error("e", e);

13
src/views/homePage.vue

@ -820,7 +820,7 @@ watch(
},
{ deep: false, immediate: true }
);
// -
watch(
() => chatStore.dbqbClickRecord,
async (newValue, oldValue) => {
@ -831,6 +831,17 @@ watch(
container.scrollTop = 0;
}
);
// -
watch(
() => deepNineStore.dbqbClickRecord,
async (newValue, oldValue) => {
const container = getCurrentScrollContainer();
if (!container) return;
await nextTick(); // DOM
container.scrollTop = 0;
}
);
watch(
() => chatStore.dbqbScrollToTop,

Loading…
Cancel
Save