Gradient estimates for weighted harmonic function with Dirichlet boundary condition. (December 2021)