excludepathpatterns 無效 踩坑了,調了好久才調出來。 原因: 訪問的API /XXX 已經轉換為 /error 了。 把“/error” 也加入 excludepathpatterns 里面即可。 ...