Commit 081f9c8b authored by 赵啸非's avatar 赵啸非

修改百分百

parent d3194225
...@@ -26,12 +26,10 @@ export default { ...@@ -26,12 +26,10 @@ export default {
}, },
renderContent: function (h, { node, data, store }) { renderContent: function (h, { node, data, store }) {
console.log("node",node)
console.log("data",data)
return ( return (
<span> <span>
<i style="font-size:16px;color:#409EFF" class={data.icon}></i> <i style="font-size:16px;color:#409EFF" class={data.icon}></i>
<span style="padding-left: 2px;font-size:14px">{node.label}</span> <span style="padding-left: 2px;font-size:14px">{node.label}({data.siteCount})</span>
</span> </span>
); );
}, },
......
...@@ -55,7 +55,6 @@ export default { ...@@ -55,7 +55,6 @@ export default {
this.$get("/sitestat/siteTree", {}).then(({ data }) => { this.$get("/sitestat/siteTree", {}).then(({ data }) => {
this.areaData = data.data; this.areaData = data.data;
console.log("data",this.areaData)
}); });
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment