|
@@ -821,11 +821,11 @@ const openZip = async (file: File) => {
|
|
// gotoAccount();
|
|
// gotoAccount();
|
|
// return;
|
|
// return;
|
|
// }
|
|
// }
|
|
- if (!user.vip) {
|
|
|
|
- MessagePlugin.info('需要开通会员~');
|
|
|
|
- gotoAccount();
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!user.vip) {
|
|
|
|
+ // MessagePlugin.info('需要开通会员~');
|
|
|
|
+ // gotoAccount();
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
MessagePlugin.loading('正在读取...',0);
|
|
MessagePlugin.loading('正在读取...',0);
|
|
const { default: JSZip } = await import('jszip');
|
|
const { default: JSZip } = await import('jszip');
|
|
const zip = new JSZip();
|
|
const zip = new JSZip();
|
|
@@ -1000,11 +1000,11 @@ const _openZip = async (file: File) => {
|
|
// gotoAccount();
|
|
// gotoAccount();
|
|
// return;
|
|
// return;
|
|
// }
|
|
// }
|
|
- if (!user.vip) {
|
|
|
|
- MessagePlugin.info('需要开通普通会员~');
|
|
|
|
- gotoAccount();
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!user.vip) {
|
|
|
|
+ // MessagePlugin.info('需要开通普通会员~');
|
|
|
|
+ // gotoAccount();
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
const { default: JSZip } = await import('jszip');
|
|
const { default: JSZip } = await import('jszip');
|
|
const zip = new JSZip();
|
|
const zip = new JSZip();
|
|
await zip.loadAsync(file,{base64:true});
|
|
await zip.loadAsync(file,{base64:true});
|
|
@@ -1174,11 +1174,11 @@ const downloadZip = async () => {
|
|
MessagePlugin.info('画布没有画笔!');
|
|
MessagePlugin.info('画布没有画笔!');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (!user.vip) {
|
|
|
|
- MessagePlugin.info('需要开通会员~');
|
|
|
|
- gotoAccount();
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!user.vip) {
|
|
|
|
+ // MessagePlugin.info('需要开通会员~');
|
|
|
|
+ // gotoAccount();
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
//提前存储iframe嵌入2d数据
|
|
//提前存储iframe嵌入2d数据
|
|
downloadType = Frame.zip;
|
|
downloadType = Frame.zip;
|
|
downloadZip3dList = [];
|
|
downloadZip3dList = [];
|