This commit is contained in:
@@ -35,10 +35,10 @@ async function loadTree() {
|
||||
showTreeSkeleton.value = false;
|
||||
}
|
||||
|
||||
async function handleReload() {
|
||||
await loadTree();
|
||||
emit('reload');
|
||||
}
|
||||
// async function handleReload() {
|
||||
// await loadTree();
|
||||
// emit('reload');
|
||||
// }
|
||||
|
||||
onMounted(loadTree);
|
||||
</script>
|
||||
@@ -87,13 +87,6 @@ onMounted(loadTree);
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
:deep(html),
|
||||
:deep(body),
|
||||
:deep(#app) {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.bg-background{
|
||||
background-color: white;
|
||||
:deep(.ant-tree){
|
||||
|
@@ -370,6 +370,7 @@ onBeforeUnmount(() => {
|
||||
|
||||
.left-content {
|
||||
flex: 1;
|
||||
height: 95vh;
|
||||
}
|
||||
|
||||
.right-content {
|
||||
@@ -468,14 +469,14 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
.chart-placeholder {
|
||||
height: 310px;
|
||||
height: 36vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.power-chart{
|
||||
height: 47vh;
|
||||
height: 38vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
Reference in New Issue
Block a user