there are many places in project development where the module content is the same or highly similar, but the routing source is different, how to use different interfaces in the component when using the component? Or pass different values to the same interface?
what I"m doing now is this:
make a judgment based on $route.name in mounted, request different interfaces according to different sources, or pass different values to different interfaces, which can also achieve the desired results, but it doesn"t always feel very good. Does the god have a better way?