In this paper, we will prove the Weyls law for the asymptotic formula of Dirichlet eigenvalues on metric measure spaces with generalized Ricci curvature bounded from below.