Home > Back-end > A method call another method in vue
A method call another method in vue
Time:11-21
Today when writing the vue encountered a problem, I would like to export to execute the query again, before this query involves recursive operations, but the method of execution order is very strange, query execution only a layer is performed behind the content of the export, this is the source code, can you tell me how to make query recursive bosses walk the execute that code again?
ExportExcel (path) { Enclosing findPage (path);//to execute the query (recursive) Var data=https://bbs.csdn.net/topics/this.dataList;//the target data Window. The location. Href='https://bbs.csdn.net/api/report? Data='+ data; }
CodePudding user response:
Write the code is divided into two methods of you here, and then call