实现基本的图表管理

This commit is contained in:
刘祥超
2021-07-03 15:44:49 +08:00
parent 534f10b8a7
commit f297f4ec52
42 changed files with 1010 additions and 99 deletions

View File

@@ -10,7 +10,13 @@ Vue.component("menu-item", {
if (typeof (window.TEA.ACTION.data.firstMenuItem) != "undefined") {
itemCode = window.TEA.ACTION.data.firstMenuItem
}
active = (itemCode == this.code)
if (itemCode != null && itemCode.length > 0 && this.code != null && this.code.length > 0) {
if (itemCode.indexOf(",") > 0) {
active = itemCode.split(",").$contains(this.code)
} else {
active = (itemCode == this.code)
}
}
}
return {
vHref: (this.href == null) ? "" : this.href,