|
@@ -73,7 +73,7 @@
|
|
<template #preIcon><span>提取人:</span></template>
|
|
<template #preIcon><span>提取人:</span></template>
|
|
</ui-input>
|
|
</ui-input>
|
|
</template>
|
|
</template>
|
|
- <div class="input">
|
|
|
|
|
|
+ <div class="input" style="padding-top: 10px">
|
|
<div class="mat-select">
|
|
<div class="mat-select">
|
|
<span>音乐</span>
|
|
<span>音乐</span>
|
|
<span class="select" @click="musicSelect">+从媒体库上传</span>
|
|
<span class="select" @click="musicSelect">+从媒体库上传</span>
|
|
@@ -166,8 +166,6 @@ import {
|
|
import { defStyleType, styleTypes } from "@/api";
|
|
import { defStyleType, styleTypes } from "@/api";
|
|
import { selectMaterials } from "@/components/materials/quisk";
|
|
import { selectMaterials } from "@/components/materials/quisk";
|
|
import { getFileName } from "@/utils";
|
|
import { getFileName } from "@/utils";
|
|
-import { taggingsGroup } from "@/sdk";
|
|
|
|
-import { useViewStack } from "@/hook";
|
|
|
|
|
|
|
|
export type EditProps = {
|
|
export type EditProps = {
|
|
data: Tagging;
|
|
data: Tagging;
|
|
@@ -223,6 +221,11 @@ const styles = computed(() => {
|
|
: 0
|
|
: 0
|
|
);
|
|
);
|
|
});
|
|
});
|
|
|
|
+watchEffect(() => {
|
|
|
|
+ if (type.value && activeStyle.value?.typeId !== type.value && styles.value.length) {
|
|
|
|
+ tagging.value.styleId = styles.value[0].id;
|
|
|
|
+ }
|
|
|
|
+});
|
|
|
|
|
|
const deleteStyle = (style: TaggingStyle) => {
|
|
const deleteStyle = (style: TaggingStyle) => {
|
|
const index = taggingStyles.value.indexOf(style);
|
|
const index = taggingStyles.value.indexOf(style);
|