update code
This commit is contained in:

parent
8963a92475
commit
00a183b9de
@ -60,7 +60,8 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="h100 px-5" style="height:calc(100% - 70px)">
|
||||
<div ref="gridParent" class="w100 h100">
|
||||
<!-- <div ref="gridParent" class="w100 h100">
|
||||
</div> -->
|
||||
<component
|
||||
:ref="gridName"
|
||||
:is="loadGrid ? 'Grid' : null"
|
||||
@ -71,7 +72,6 @@
|
||||
:selectedRowDataWatchFlag="true"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</v-card>
|
||||
</v-col>
|
||||
<v-col :cols="7" class="h100">
|
||||
@ -407,8 +407,6 @@ export default {
|
||||
value: myColumns,
|
||||
});
|
||||
|
||||
this.loadGrid = true;
|
||||
|
||||
this.search();
|
||||
},
|
||||
async getRowGridData() {
|
||||
@ -437,8 +435,9 @@ export default {
|
||||
gridKey: this.gridName,
|
||||
value: newRes,
|
||||
});
|
||||
|
||||
console.log('-------DEBUG-----newRes: ', newRes);
|
||||
this.$nextTick(() => {
|
||||
this.loadGrid = true;
|
||||
if (newRes.length > 0) {
|
||||
try {
|
||||
this.$refs[this.gridName].focus({
|
||||
|
Reference in New Issue
Block a user