Commit 5218f169 authored by nick zheng's avatar nick zheng

chore: 数字人对话默认初始值和补充dialog取消事件

parent 7aa80c52
......@@ -11,13 +11,13 @@ function defaultDigitalHumanDialogue(): DigitalHumanDialogueConfig {
publishStatus: 'N',
},
humanInfo: {
figureId: '',
figureId: 'A2A_V2-xiaomeng2',
speed: 5,
intonation: 5,
timebreId: '5132',
},
backgroundInfo: {
backgroundUrl: '',
backgroundUrl: 'https://digitalpeople-sit.gz.bcebos.com/share/backgroud/%E5%8C%BB%E5%AD%A61.jpg',
},
systemInfo: defaultDigitalHumanSystemInfo(),
}
......
......@@ -120,6 +120,7 @@ function handleDelete(id: number) {
getBackgroundImageList()
}
},
onNegativeClick: () => {},
})
}
......
......@@ -18,6 +18,7 @@ function handleUpdateSystemInfo() {
onPositiveClick: () => {
digitalHumanDialogueStore.resetDigitalHumanSystemInfo()
},
onNegativeClick: () => {},
})
}
</script>
......
......@@ -87,6 +87,7 @@ async function handleMultiDeleteDiaglogueConfig() {
await handleGetDiaglogList()
}
},
onNegativeClick: () => {},
})
}
......@@ -139,6 +140,7 @@ async function handleUpdateDialogueOpen(configId: string, diaglogueTableItem: Di
await handleGetDiaglogList()
}
},
onNegativeClick: () => {},
})
return
}
......@@ -203,6 +205,7 @@ function handleDeleteDiaglogueConfig(configId: string) {
await handleGetDiaglogList()
}
},
onNegativeClick: () => {},
})
}
......
......@@ -27,7 +27,7 @@ export function createDarftTableColumns({
h(
'div',
{
style: { width: '64px', height: '36px', marginRight: '10px' },
style: { width: '64px', height: '36px', marginRight: '10px', flexShrink: 0 },
class: 'flex items-center justify-center overflow-hidden relative',
},
[
......
......@@ -72,13 +72,13 @@ const darftTableColumns = createDarftTableColumns({
await handleGetDraftList()
}
},
onNegativeClick: () => {},
})
},
handleEditDraft(rowData) {
router.push({
name: 'Creation',
params: {
templateId: rowData.templateId,
query: {
draftId: rowData.id,
},
})
......@@ -131,6 +131,7 @@ const handleMultiSelectDelete = () => {
}
}
},
onNegativeClick: () => {},
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment