Commit 8ce33a8a authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 变量单词拼写有误

See merge request !18
parents 61f2cd02 4783dbe3
......@@ -21,17 +21,17 @@ const userStore = useUserStore()
const digitalCreationStore = useDigitalCreationStore()
const digitalHumanDialogueStore = useDigitalHumanDialogueStore()
const ishowCreateDigitalHumanDialogueModal = ref(false)
const ishowCreateDigitalHumanVideoModal = ref(false)
const isShowCreateDigitalHumanDialogueModal = ref(false)
const isShowCreateDigitalHumanVideoModal = ref(false)
const userInfo = computed(() => userStore.userInfo)
function handleShowCreateDigitalHumanDialogueModal() {
ishowCreateDigitalHumanDialogueModal.value = true
isShowCreateDigitalHumanDialogueModal.value = true
}
function handleShowCreateDigitalHumanVideoModal() {
ishowCreateDigitalHumanVideoModal.value = true
isShowCreateDigitalHumanVideoModal.value = true
}
async function handleCreateDigitalHumanDialogue(digitalHumanDialogueForm: DigitalHumanDialogueForm) {
......@@ -48,7 +48,7 @@ async function handleCreateDigitalHumanDialogue(digitalHumanDialogueForm: Digita
if (res.code === 0) {
router.push({ name: 'DialogueDetail', params: { configId: res.data.baseInfo.configId } })
ishowCreateDigitalHumanDialogueModal.value = false
isShowCreateDigitalHumanDialogueModal.value = false
}
}
......@@ -71,7 +71,7 @@ async function handleCreateDigitalHumanVideo(digitalHumanVideoForm: DigitalHuman
if (res.code === 0) {
router.push({ name: 'Creation', query: { draftId: res.data.id } })
ishowCreateDigitalHumanDialogueModal.value = false
isShowCreateDigitalHumanVideoModal.value = false
}
}
</script>
......@@ -161,14 +161,14 @@ async function handleCreateDigitalHumanVideo(digitalHumanVideoForm: DigitalHuman
</div>
<CreateDigitalHumanDialogueModal
v-model:is-show-modal="ishowCreateDigitalHumanDialogueModal"
v-model:is-show-modal="isShowCreateDigitalHumanDialogueModal"
modal-title="新建對話"
:btn-loading="false"
@confirm="handleCreateDigitalHumanDialogue"
/>
<CreateDigitalHumanVideoModal
v-model:is-show-modal="ishowCreateDigitalHumanVideoModal"
v-model:is-show-modal="isShowCreateDigitalHumanVideoModal"
modal-title="新建視頻"
:btn-loading="false"
@confirm="handleCreateDigitalHumanVideo"
......
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