fix: gretting page
This commit is contained in:
@@ -433,7 +433,7 @@ const cardId = ref("");
|
||||
|
||||
// 标题相关
|
||||
const titles = ref([]);
|
||||
const currentTitle = ref(null);
|
||||
const currentTitle = ref(titles.value[0]);
|
||||
const titlePage = ref(1);
|
||||
const loadingTitles = ref(false);
|
||||
const hasMoreTitles = ref(true);
|
||||
@@ -908,6 +908,7 @@ const selectTitle = (title) => {
|
||||
currentTitle.value = null;
|
||||
} else {
|
||||
currentTitle.value = title;
|
||||
|
||||
// 切换标题时重置位置和缩放
|
||||
titleState.value = {
|
||||
offsetX: 0,
|
||||
@@ -982,6 +983,7 @@ const shareOrSave = async (id) => {
|
||||
blessingTo: targetName.value,
|
||||
blessingFrom: signatureName.value,
|
||||
templateId: currentTemplate.value?.id || "",
|
||||
titleId: currentTitle?.value?.id || "",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user