My bet is rats were a vector, but not the only significant vector. Its extremely hard to trace all vectors for a disease with pinpoint levels of accuracy to say definitively that any one thing was the major cause.
At least, this is what I've learned studying public health and how diseases spread thus far, anyway
https://www.gavi.org/vaccineswork/black-death-may-not-have-b...
Papers: https://www.pnas.org/doi/pdf/10.1073/pnas.2209816119 and https://www.pnas.org/doi/full/10.1073/pnas.1715640115