fix bug grid not load when change menu tab
This commit is contained in:

parent
6583d68ea7
commit
c40352e37c
@ -606,8 +606,10 @@ export default {
|
|||||||
list.map(item => this.gridInstance.invoke('check', item));
|
list.map(item => this.gridInstance.invoke('check', item));
|
||||||
},
|
},
|
||||||
refreshLayout() {
|
refreshLayout() {
|
||||||
// console.log("---------DEBUG---refreshLayout: ");
|
setTimeout(() => {
|
||||||
this.gridInstance.invoke('refreshLayout');
|
this.gridInstance.invoke('refreshLayout');
|
||||||
|
}, 150);
|
||||||
|
// this.gridInstance.invoke('refreshLayout');
|
||||||
},
|
},
|
||||||
refreshGrid() {
|
refreshGrid() {
|
||||||
// console.log("refreshLayout",this.$refs['tuigrid' + this.gridName])
|
// console.log("refreshLayout",this.$refs['tuigrid' + this.gridName])
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<div class="d-flex justify-center align-center"
|
<div class="d-flex justify-center align-center"
|
||||||
:class="directionBtn === 'vertically'?'flex-row':'flex-column'"
|
:class="directionBtn === 'vertically'?'flex-row':'flex-column'"
|
||||||
style="gap: 12px">
|
style="gap: 12px">
|
||||||
<a-button @click="btnActionsFnc('removeRightToLeft')" type="primary" ghost :icon="icons.remove" class="custom-action-btn">
|
|
||||||
</a-button>
|
|
||||||
<a-button @click="btnActionsFnc('addLeftToRight')" type="primary" ghost :icon="icons.add" class="custom-action-btn">
|
<a-button @click="btnActionsFnc('addLeftToRight')" type="primary" ghost :icon="icons.add" class="custom-action-btn">
|
||||||
</a-button>
|
</a-button>
|
||||||
|
<a-button @click="btnActionsFnc('removeRightToLeft')" type="primary" ghost :icon="icons.remove" class="custom-action-btn">
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<v-col :cols="12" class="mt-5 pb-4">
|
<v-col :cols="12" class="mt-5 pb-4">
|
||||||
<v-card-title class="custom-title-6 pa-0">{{ viewActionData.title }}</v-card-title>
|
<v-card-title class="custom-title-6 pa-0">{{ viewActionData.title }}</v-card-title>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col :cols="12" style="min-height: 30vh;" class="pa-0 custom-view">
|
<v-col :cols="12" style="min-height: 50vh;" class="pa-0 custom-view">
|
||||||
<v-card class="pa-3" style="overflow-y:auto;">
|
<v-card class="pa-3" style="overflow-y:auto;">
|
||||||
<viewer v-if="viewActionData.viewerFlag" ref="tuiViewer" height="inherit"
|
<viewer v-if="viewActionData.viewerFlag" ref="tuiViewer" height="inherit"
|
||||||
:initialValue="viewActionData.content" theme="white"
|
:initialValue="viewActionData.content" theme="white"
|
||||||
|
Reference in New Issue
Block a user