|
@@ -19,7 +19,7 @@ const Form = ref();
|
|
|
let anchor = ref(0);
|
|
|
let templateId = ref(0);
|
|
|
let selectAnchor = ref("angela");
|
|
|
-let selectTemplate = ref("");
|
|
|
+let selectTemplate = ref("style1");
|
|
|
|
|
|
// props
|
|
|
let dialog = reactive({
|
|
@@ -78,7 +78,7 @@ const getImageUrl = (imgFolder: string, name: string) => {
|
|
|
.href;
|
|
|
};
|
|
|
|
|
|
-watch(dialog, (newVal, oldVal) => {
|
|
|
+watch(dialog, (newVal) => {
|
|
|
if (!newVal.show && newVal.state === "error") {
|
|
|
return;
|
|
|
} else if (!newVal.show && newVal.state === "success") {
|
|
@@ -106,7 +106,7 @@ async function Submit() {
|
|
|
style: selectTemplate.value,
|
|
|
lang: "zh",
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
const ret: VideoUploaded = await mainStore.uploadPlot(
|
|
|
video_data,
|
|
|
zipFiles.value[0]
|