Browse Source

深度大模型历史记录实时更新。

milestone-20250924-接入大财神工作流
宋杰 9 hours ago
parent
commit
982747f85c
  1. 18
      src/views/components/HistoryRecord.vue

18
src/views/components/HistoryRecord.vue

@ -796,6 +796,7 @@ const handleFeedbackClick = () => {
emit("showFeedback"); emit("showFeedback");
}; };
//
watch( watch(
() => chatStore.searchRecord, () => chatStore.searchRecord,
(newVal) => { (newVal) => {
@ -809,6 +810,23 @@ watch(
} }
); );
//
import { useDeepNineStore } from "@/store/deepNine.js";
const deepNineStore = useDeepNineStore();
watch(
() => deepNineStore.searchRecord,
(newVal) => {
if (deepNineStore.searchRecord) {
getHistoryList({
model: props.currentType == "deepNine" ? 3 : props.currentType == "AIchat" ? 1 : 2,
token: localStorage.getItem("localToken"),
});
deepNineStore.searchRecord = false;
}
}
);
// //
defineExpose({ defineExpose({
isCollapsed, isCollapsed,

Loading…
Cancel
Save