forked from github/dataease
refactor: 移动端布局组件等待区域靠左排列
This commit is contained in:
parent
9485610a77
commit
0c8454323a
@ -75,6 +75,7 @@ export default {
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
cursor:pointer!important;
|
||||
text-align: center;
|
||||
background-color: #0a7be0;
|
||||
}
|
||||
.bar-main i{
|
||||
|
@ -156,7 +156,7 @@ export default {
|
||||
}
|
||||
},
|
||||
editBarViewShowFlag() {
|
||||
return this.active && this.inTab
|
||||
return this.active && this.inTab && !this.mobileLayoutStatus
|
||||
},
|
||||
charViewShowFlag() {
|
||||
return this.httpRequest.status && this.chart.type && !this.chart.type.includes('table') && !this.chart.type.includes('text') && this.renderComponent() === 'echarts'
|
||||
|
@ -10,7 +10,7 @@
|
||||
<span slot="label">
|
||||
<span>{{ item.title }}</span>
|
||||
|
||||
<el-dropdown v-if="isEdit" slot="label" class="de-tab-drop" trigger="click" @command="handleCommand">
|
||||
<el-dropdown v-if="dropdownShow" slot="label" class="de-tab-drop" trigger="click" @command="handleCommand">
|
||||
<span class="el-dropdown-link">
|
||||
|
||||
<!-- <span>{{ item.title }}</span> -->
|
||||
@ -135,8 +135,12 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
dropdownShow() {
|
||||
return this.isEdit && !this.mobileLayoutStatus
|
||||
},
|
||||
...mapState([
|
||||
'curComponent'
|
||||
'curComponent',
|
||||
'mobileLayoutStatus'
|
||||
])
|
||||
},
|
||||
watch: {
|
||||
|
@ -81,6 +81,7 @@ export default {
|
||||
.component-wait-main {
|
||||
width: 100%;
|
||||
height: calc(100% - 30px);
|
||||
text-align: left;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.component-custom {
|
||||
|
Loading…
Reference in New Issue
Block a user