访问接口文档页面http://localhost/doc.html#/home报403

Blade 未结 1 2196
lingxi
lingxi 剑圣 2021-01-29 11:42
悬赏:5

一、该问题的重现步骤是什么?

1. 访问http://localhost/doc.html#/home报403

2. 页面提示We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to continue.

3.image.png


二、你期待的结果是什么?实际看到的又是什么?

访问http://localhost/doc.html#/home正常显示接口


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

正在使用bladex+saber

版本2.7.1

操作系统windows10


四、请提供详细的错误堆栈信息,这很重要。

We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to continue.


Status Code : 304 Not Modified


<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title></title><link href=webjars/css/chunk-62d2fe18.8274cf04.css rel=prefetch><link href=webjars/js/chunk-0c58d94d.d009b662.js rel=prefetch><link href=webjars/js/chunk-0fd67716.d57e2c41.js rel=prefetch><link href=webjars/js/chunk-214218f0.92c7a521.js rel=prefetch><link href=webjars/js/chunk-2d0af44e.c09671a4.js rel=prefetch><link href=webjars/js/chunk-2d0bd799.5bb1a14e.js rel=prefetch><link href=webjars/js/chunk-2d0d0b98.4693c46e.js rel=prefetch><link href=webjars/js/chunk-2d0da532.a47fb5c8.js rel=prefetch><link href=webjars/js/chunk-2d22269d.fc57b306.js rel=prefetch><link href=webjars/js/chunk-3b888a65.8737ce4f.js rel=prefetch><link href=webjars/js/chunk-589faee0.1cf66f6d.js rel=prefetch><link href=webjars/js/chunk-62d2fe18.64c34be0.js rel=prefetch><link href=webjars/js/chunk-735c675c.be4e3cfe.js rel=prefetch><link href=webjars/js/chunk-adb9e944.e09637fc.js rel=prefetch><link href=webjars/css/app.ff80f646.css rel=preload as=style><link href=webjars/css/chunk-vendors.7c767628.css rel=preload as=style><link href=webjars/js/app.0f2f48b5.js rel=preload as=script><link href=webjars/js/chunk-vendors.9a4add2b.js rel=preload as=script><link href=webjars/css/chunk-vendors.7c767628.css rel=stylesheet><link href=webjars/css/app.ff80f646.css rel=stylesheet></head><body><noscript><strong>We're sorry but knife4j-vue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=webjars/js/chunk-vendors.9a4add2b.js></script><script src=webjars/js/app.0f2f48b5.js></script></body></html>


五、若有更多详细


1条回答
  • 2021-01-29 13:07

    f12看一下network报什么错,以及js控制台报什么错。你提供的这个错误只是他index.html首页固定的一段文字,并不是真正的错误原因。

    另外请将账号邮箱修改为下单购买授权的qq邮箱便可咨询商业版疑问

    0 讨论(0)
提交回复