@@ -244,7 +244,7 @@ export const fuseImageJoinHot = async (
hotItems.forEach((hot) => {
const hotTitle = (hot.querySelector(".tip") as HTMLDivElement)?.innerText;
const index = showTags.findIndex(
- (tag) => tag.tagTitle.trim() === hotTitle.trim()
+ (tag) => tag.tagTitle.trim() === hotTitle?.trim()
);
if (index !== -1) {
const bound = hot.getBoundingClientRect();
@@ -263,7 +263,7 @@ const renderCanvas = () => {
const res = await submitMergePhotos(params);
console.log("res", res);
const { data, code } = res;
- const title = `${props.title}-照片卷.jpg`;
+ const title = `照片卷.jpg`;
if (data && data.imgUrl) {
if (save) {
// debugger;
@@ -269,6 +269,7 @@ function downloadFile(sourceUrl, fileName,) {
function handleClose(e) {
console.log("handleClose", e);
+ dialogVisible.value = false
}
function handleRadioItem() {
console.log('handleRadioItem', radio.value)