Emotion-Cause Pair Extraction (ECPE) task, which aims to identify and extract emotion clauses and corresponding cause clauses. Existing approaches employ a sequential encoding of features in a specified order. This results in an imbalance in the interaction of features between tasks, whereby information can only flow from the emotion/cause clause encoder to the pair encoder. Additionally, the approach is not sensitive to long-distance emotion-cause pairs, and the relatively low precision of the extracted ground for cause clauses. To address these issues, this paper propose a method for Emotion-Cause Pair Extraction based on the Machine Reading Comprehension(MRC) framework with Joint Coding(MRCJE). This method improves the accuracy of the auxiliary tasks emotion extraction and cause extraction by concatenating the query and clause display. It also uses an undirected isomorphic graph to transfer information between clauses and pairs, and generates both pairs and clause features to model causal relationships in clauses, balancing the information flow between emotion clauses, cause clauses and pairs. The method was experimentally demonstrated on a Chinese benchmark corpus, and the results demonstrated that it achieved better results than the baseline model.