Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 将2个应用程序与离子2中的单个应用程序合并_Angular_Typescript_Ionic Framework - Fatal编程技术网

Angular 将2个应用程序与离子2中的单个应用程序合并

Angular 将2个应用程序与离子2中的单个应用程序合并,angular,typescript,ionic-framework,Angular,Typescript,Ionic Framework,我已经创建了PDF和CSV文件现在我必须在单个应用程序中合并这两个应用程序,如何在单个应用程序中合并PDF和CSV文件应用程序 document.addEventListener('deviceready', () => { console.log('DEVICE READY FIRED AFTER', (Date.now() - before), 'ms'); cordova.plugins.pdf.htmlToPDF({

我已经创建了PDF和CSV文件现在我必须在单个应用程序中合并这两个应用程序,如何在单个应用程序中合并PDF和CSV文件应用程序

 document.addEventListener('deviceready', () => {
        console.log('DEVICE READY FIRED AFTER', (Date.now() - before), 'ms');

        cordova.plugins.pdf.htmlToPDF({
                data: "<html> <h1>  Hello World  </h1> </html>",
                documentSize: "A4",
                landscape: "portrait",
                type: "share"
            },
            (sucess) => console.log('sucess: ', sucess),
            (error) => console.log('error:', error));
    });
document.addEventListener('deviceready',()=>{
log('deviceready FIRED AFTER',(Date.now()-before),'ms');
cordova.plugins.pdf.htmlToPDF({
资料:“你好,世界”,
文件大小:“A4”,
风景:“肖像”,
类型:“共享”
},
(suces)=>console.log('suces:',suces),
(error)=>console.log('error:',error));
});

要合并2个应用程序吗?还是2个文件?我想合并2个应用程序PDF和CSV