The self-affine measure associated with an expanding matrix and a finite digit set is uniquely determined by the self-affine identity with equal weight. The spectral and non-spectral problems on the self- affine measures have some surprising connections with a number of areas in mathematics, and have been received much attention in recent years. In the present paper, we shall determine the spectrality and non-spectrality of a class of self-aiffine measures with decomposable digit sets. We present a method to deal with such case, and clarify the spectrality and non-spectrality of a class of self-affine measures by applying this method.