解决 Resource interpreted as Document but transferred with MIME type application/json

在做导出功能时,可以成功导出,但是控制台报这个错,并且导出后页面显示接口调用错误


    具体原因可查看 https://blog.csdn.net/just_lover/article/details/81207472
    我的解决方法是:我的页面也是用了form表单,经过排查发现form表单可以不需要,所以我的删掉form表单标签后就没问题了。

猜你喜欢

转载自blog.csdn.net/shulan5/article/details/91452155