@webank/fes-core
Advanced tools
Comparing version 0.4.4 to 0.4.5
{ | ||
"name": "@webank/fes-core", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "一个好用的前端管理台快速开发框架", | ||
@@ -32,3 +32,3 @@ "scripts": { | ||
}, | ||
"gitHead": "da5c8d73d5b24ab162b0d4093aca6329cc8e7602" | ||
"gitHead": "1f86453796e332b8d1a36ba7dc175df4d92885c2" | ||
} |
// TODO runtime 实例和具体功能解耦 | ||
/*eslint-disable */ | ||
import app from '../instance/app'; | ||
import util from "../util" | ||
@@ -13,3 +14,3 @@ /** | ||
const urls = app.getAllowPage() || []; | ||
if (urls.indexOf(binding.value) === -1) { | ||
if (!util.canRoute(binding.value, urls)) { | ||
el.style.display = 'none'; | ||
@@ -16,0 +17,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76344
1743