Merge branch 'dev' of fit2cloud:dataease/dataease into dev

This commit is contained in:
fit2cloud-chenyw 2021-07-30 12:06:01 +08:00
commit ba3b212679
4 changed files with 12 additions and 5 deletions

View File

@ -215,6 +215,7 @@ export default {
min-height: 300px;
width: 100%;
height: 100%;
overflow-x: hidden;
/*border: 1px solid #E6E6E6;*/
background-size: 100% 100% !important;
.canvas-container {

View File

@ -1245,10 +1245,12 @@ export default {
},
changeChart() {
this.view.tableId = this.changeTable.id
this.view.xaxis = []
this.view.yaxis = []
this.view.customFilter = []
if (this.view.tableId !== this.changeTable.id) {
this.view.tableId = this.changeTable.id
this.view.xaxis = []
this.view.yaxis = []
this.view.customFilter = []
}
this.save(true, 'chart', false)
},

View File

@ -1,7 +1,7 @@
<template>
<de-container>
<de-aside-container>
<dataset-group-selector-tree @getTable="getTable" :privileges=privileges :mode=mode :type=type :customType=customType :showMode=showMode />
<dataset-group-selector-tree :privileges="privileges" :mode="mode" :type="type" :custom-type="customType" :show-mode="showMode" @getTable="getTable" />
</de-aside-container>
<de-main-container>
<dataset-table-data :table="table" />

View File

@ -96,6 +96,7 @@
<div
id="canvasInfo"
:class="{'style-hidden':canvasStyleData.selfAdaption}"
class="content this_canvas"
:class="{'border-hidden':canvasStyleData.selfAdaption}"
@drop="handleDrop"
@ -826,6 +827,9 @@ export default {
padding: 1px 15px !important;
}
}
.style-hidden{
overflow: hidden;
}
.border-hidden {
overflow: hidden;