nchor">#</a> 构造front版本</h2> <p>既然我们已经知道了上面option的地址,接下来我们即可改造<code>initKnife4jFront()</code>方法来进行</p> <p>方法如下：</p> <div class="language-js extra-class"><pre class="language-js"><code><span class="token keyword">this</span><span class="token punctuation">.</span>swagger <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">SwaggerBootstrapUi</span><span class="token punctuation">(</