A note on the vertex PI index of graphs