The present invention relates to the use of an EGFR/HER2 receptor tyrosine kinase inhibitor in preparing drugs for treating cancers induced by HER2 mutation. In particular, the present invention relates to the use of a compound as shown in formula A or a pharmaceutically acceptable salt thereof in preparing drugs for treating cancers induced by HER2 mutation.