Vue错误:Cannot read properties of undefined (reading '$router') 解决方案 这是由于this的指向有问题,我们只需要重新声明一下this就可以重新调用了 博观而约取,厚积而薄发