Browse Source

1

dev_YWQ
congzc 1 year ago
parent
commit
30b7129ffb
2 changed files with 1 additions and 2 deletions
  1. +0
    -2
      src/types/auto-imports.d.ts
  2. +1
    -0
      src/views/createVideo/index.vue

+ 0
- 2
src/types/auto-imports.d.ts View File

@@ -2,7 +2,6 @@
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const ElForm: typeof import('element-plus/es')['ElForm']
const ElMessage: typeof import('element-plus/es')['ElMessage']
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
@@ -271,7 +270,6 @@ import { UnwrapRef } from 'vue'
declare module 'vue' {
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']>
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>


+ 1
- 0
src/views/createVideo/index.vue View File

@@ -1363,6 +1363,7 @@ async function saveOrUpdate(isCreate) {
backgroundId: materialList.BGI.id + "", //背景id
personJson: JSON.stringify(shuziren), // 数字人
materialAllJson: JSON.stringify([...scList]), // 素材
subtitleEnabled: Subtitles.SubtitlesSwitch ? 1 : 0, //字幕开关
subtitleParams: JSON.stringify({
Fontname: Subtitles.SubtitlesFontFamily, //字体名字
Fontsize: Subtitles.SubtitlesSize * proportion.value, //字体大小


Loading…
Cancel
Save