Merge branch 'v1.5' of github.com:dataease/dataease into v1.5

This commit is contained in:
taojinlong 2021-11-25 17:51:51 +08:00
commit 169052e7db
3 changed files with 7 additions and 14 deletions

View File

@ -162,11 +162,11 @@ export default {
height: 100%; height: 100%;
} }
.first-element-contaner { .first-element-contaner {
width: calc(100% - 10px); width: 100%;
background: initial; background: initial;
position:absolute; position:absolute;
bottom: 5px; bottom: 0px;
margin: 0 4px; margin: 0 0px;
div { div {
width: 100%; width: 100%;
} }
@ -174,7 +174,7 @@ export default {
.first-element-grid-contaner { .first-element-grid-contaner {
background: #fff; background: #fff;
border: 1px solid #d7dae2; border: 1px solid #d7dae2;
top: 5px; top: 0px;
} }
.condition-main-line { .condition-main-line {
height: 40px !important; height: 40px !important;

View File

@ -12,14 +12,6 @@
<app-main /> <app-main />
</de-main-container> </de-main-container>
</de-container> </de-container>
<!-- <de-main-container>
<app-main />
</de-main-container> -->
<!-- <div :class="{sidebarHide: sidebar.hide}" class="main-container">
<app-main />
</div> -->
</div> </div>
</template> </template>
@ -62,7 +54,7 @@ export default {
return this.$store.state.settings.showSettings return this.$store.state.settings.showSettings
}, },
fullHeightFlag() { fullHeightFlag() {
return this.componentName === 'PanelEdit' || this.componentName === 'ChartEdit' return this.$route.path.indexOf('panel') > -1 && (this.componentName === 'PanelEdit' || this.componentName === 'ChartEdit')
}, },
mainStyle() { mainStyle() {
if (this.fullHeightFlag) { if (this.fullHeightFlag) {

View File

@ -28,7 +28,7 @@ export default {
}, },
computed: { computed: {
fullHeightFlag() { fullHeightFlag() {
return this.componentName === 'PanelEdit' || this.componentName === 'ChartEdit' return this.$route.path.indexOf('panel') > -1 && (this.componentName === 'PanelEdit' || this.componentName === 'ChartEdit')
} }
}, },
watch: { watch: {
@ -49,6 +49,7 @@ export default {
}) })
}, },
created() { created() {
bus.$emit('PanelSwitchComponent', { name: 'PanelMain' })
this.$store.dispatch('app/toggleSideBarHide', true) this.$store.dispatch('app/toggleSideBarHide', true)
const routerParam = this.$router.currentRoute.params const routerParam = this.$router.currentRoute.params
this.toMsgShare(routerParam) this.toMsgShare(routerParam)