Authored by wangtao

自监控图标;资产视图

@@ -126,3 +126,14 @@ @@ -126,3 +126,14 @@
126 content: ''; 126 content: '';
127 } 127 }
128 128
  129 +.self-monitor{
  130 + background: url('../img/menu/self-monitor.png') !important;
  131 + width: 15px;
  132 + height: 15px;
  133 + margin-top: -7px !important;
  134 +}
  135 +
  136 +.self-monitor:before {
  137 + content: '';
  138 +}
  139 +
@@ -84,7 +84,7 @@ export default { @@ -84,7 +84,7 @@ export default {
84 // 获取左侧树结构 84 // 获取左侧树结构
85 let loadTree = () => { 85 let loadTree = () => {
86 proxy.$http.get("/api-web/v32/res/list/tree", {}, function (res) { 86 proxy.$http.get("/api-web/v32/res/list/tree", {}, function (res) {
87 - if (res && res.data) { 87 + if (res && res.data && res.data.length > 0) {
88 treeData.value = res.data 88 treeData.value = res.data
89 89
90 let first = res.data[0]; 90 let first = res.data[0];