|
@@ -413,7 +413,7 @@ const openZip = async (file: File, isNew: boolean = false) => {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!user.vipExpired) {
|
|
|
|
|
|
+ if (user.vipExpired) {
|
|
// vipVisible.value = true;
|
|
// vipVisible.value = true;
|
|
gotoAccount();
|
|
gotoAccount();
|
|
return;
|
|
return;
|
|
@@ -573,7 +573,7 @@ const downloadZip = async () => {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!user.vipExpired) {
|
|
|
|
|
|
+ if (user.vipExpired) {
|
|
gotoAccount();
|
|
gotoAccount();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -608,7 +608,7 @@ const downloadHtml = async () => {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!user.vipExpired) {
|
|
|
|
|
|
+ if (user.vipExpired) {
|
|
gotoAccount();
|
|
gotoAccount();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -662,7 +662,7 @@ async function downloadAsFrame(type: Frame) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!user.vipExpired) {
|
|
|
|
|
|
+ if (user.vipExpired) {
|
|
gotoAccount();
|
|
gotoAccount();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -753,7 +753,7 @@ async function zipFiles(zip: JSZip) {
|
|
}
|
|
}
|
|
|
|
|
|
async function zipFile(zip: JSZip, filePath: string) {
|
|
async function zipFile(zip: JSZip, filePath: string) {
|
|
- const res: Blob = await axios.get(cdn + '/2d' + filePath, {
|
|
|
|
|
|
+ const res: Blob = await axios.get((cdn ? cdn + '/2d' : '') + filePath, {
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
});
|
|
});
|
|
zip.file(filePath.replace('/view', ''), res, { createFolders: true });
|
|
zip.file(filePath.replace('/view', ''), res, { createFolders: true });
|