Browse Source

Fix js problem

pull/18791/head
Salih 2 years ago
parent
commit
8b4455e9be
  1. 10
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

10
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

@ -36,9 +36,10 @@
}
@section scripts {
<abp-script-bundle name="@typeof(IndexModel).FullName">
@if (Model.LoadSuccess)
{
<abp-script-bundle name="@typeof(IndexModel).FullName">
<abp-script type="@typeof(MalihuCustomScrollbarPluginScriptBundleContributor)"/>
<abp-script type="@typeof(ClipboardScriptBundleContributor)"/>
<abp-script type="@typeof(AnchorJsScriptBundleContributor)"/>
@ -48,13 +49,16 @@
<abp-script src="/Pages/Documents/Project/bootstrap-toc.js"/>
<abp-script src="/Pages/Documents/Shared/Scripts/vs.js"/>
<abp-script src="/Pages/Documents/Project/index.js"/>
</abp-script-bundle>
}
else
{
<abp-script src="/Pages/Documents/Shared/ErrorComponent/error.js"/>
<abp-script-bundle name="@typeof(ErrorViewComponent).FullName">
<abp-script src="/Pages/Documents/Shared/ErrorComponent/error.js"/>
</abp-script-bundle>
}
</abp-script-bundle>
}
@if (Model.LoadSuccess)

Loading…
Cancel
Save