Entity alignment refers to finding equivalent entities from different knowledge graphs. Most of the existing entity alignment methods are studied based on homogeneous graphs. However, the knowledge graph is a heterogeneous graph containing many types of nodes, such as entities, relations, and attributes. Therefore, we propose introducing a heterogeneous graph neural network to model entities and relations simultaneously and propose an iterative fusion method to enhance the interaction between these two semantic nodes. Since not all datasets contain relation information, this paper does not directly introduce a feature representation of relations. The generalizability of the approach is improved by utilizing a relation-aware strategy to obtain information about the relation. Specifically, the information propagation of the head and tail entities in the triplet is utilized to obtain the feature representation of the relation. Experimental results show that the present method performs better on three cross-lingual datasets DBP15K and two large-scale datasets DWY100K.