The route of ssr (nuxt) of vue jumps. When jumping to the secondary page, it jumps back and reports a 500error.

vue ssr (nuxt) route jump, when jump back to the secondary page report 500error, how fat, can not find the reason is annoying.
at first, the tab switch is normal, when you click to enter the secondary page, then click on the tab bar.

clipboard.png

Navigation bar jump code:

            <ul>
                    <li>
                        <nuxt-link to="/"></nuxt-link>
                    </li>
                    <li>
                        <nuxt-link to="/zuqiu"></nuxt-link>
                    </li>
                    <li>
                        <nuxt-link to="/lanqiu"></nuxt-link>
                    </li>
                    <li>
                        <nuxt-link to="/tuijian"></nuxt-link>
                    </li>
                </ul>

Secondary page jump code:

<nuxt-link to="/tuijian/dashenbang" target="_blank"><img
src="../static/image/more2.png"></nuxt-link>


is the CORS cross-domain problem? just configure the cross-domain. Or google install Allow-Control-Allow-Origin: * plug-in


students I also encounter the same problem, how to solve

Menu