Disclosed in the present invention are a pyrimidine-fused cyclic compound or a pharmaceutically acceptable salt, hydrate, prodrug, stereoisomer, solvate or isotope labeled compound thereof. Also provided in the present invention are a preparation method for the compound, a composition comprising the compound and a use of the compound for the preparation of a medicament for the prevention and/or treatment of a disease or condition associated with abnormal SHP2 activity.