Update ZxcvbnScriptContributor.cs

pull/17666/head
liangshiwei 2 years ago
parent 3226676ceb
commit 6356592668

@ -1,3 +1,4 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Zxcvbn;
@ -6,6 +7,6 @@ public class ZxcvbnScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.Add("/libs/zxcvbn/zxcvbn.js");
context.Files.AddIfNotContains("/libs/zxcvbn/zxcvbn.js");
}
}
Loading…
Cancel
Save