In this paper, the deviation from eutectic composition in boundary layer for eutectic growth is studied by phase-field method. According to a series of artificial phase diagram, the lamellar eutectic growth of these alloy is simulated during directional solidification. At steady state, average growth velocity of eutectic lamella is equal to the pulling velocity. With the increasing of the liquidus slope of β phase, the average composition in boundary layer would deviate from eutectic composition and the deviation increases. The constitutional undercooling difference between both solid phases caused by the deviation increases with the increasing of the deviation. The β phase would develop a depression under the influence of the deviation.