bugfix: 首页不显示+号&sketch卡片尺寸
This commit is contained in:
@@ -536,7 +536,9 @@
|
||||
ancestorsList.push(...list)
|
||||
}
|
||||
|
||||
const setChatInfo = (info) => {
|
||||
const setChatInfo = (info) => {
|
||||
console.log('11111111111',info);
|
||||
|
||||
const initialData = agentStore.getInitialProjectData
|
||||
if (isGenerating.value || initialData) return
|
||||
|
||||
@@ -581,9 +583,9 @@
|
||||
const sessionLastIndexMap = new Map<string, number>()
|
||||
ancestorsList.forEach((item, index) => {
|
||||
console.log('item', item)
|
||||
if (item.image_url) {
|
||||
sessionLastIndexMap.set(item.sessionId, index)
|
||||
}
|
||||
// if (item.image_url) {
|
||||
sessionLastIndexMap.set(item.sessionId, index)
|
||||
// }
|
||||
})
|
||||
sessionLastIndexMap.forEach((lastIndex) => {
|
||||
ancestorsList[lastIndex].text += '<slot slot-name="sketch"></slot>'
|
||||
|
||||
Reference in New Issue
Block a user