79705851

Date: 2025-07-18 07:47:18
Score: 2
Natty:
Report link

When you click the button, this operation is implemented by the compiled JS, but if you enter it in the browser, but you have not configured the corresponding forwarding logic (page Router forwards to vue's index, api forwards to SpringBoot), this problem will occur?

Try to modify the API URL to determine this problem (the RequestMappingURL in spring boot is changed to be inconsistent with that in vue-router, and then enter your url in the browser (localhost:8080/event_detail/:role/:objectId/:eventId), according to your description, it should return 404 instead of correct processing.

Before understanding your architecture, I can't help you solve this problem in a targeted manner.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: kiterza