Conformance: fix scrollTop error & Have activity done.
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
import { storeToRefs } from 'pinia';
|
||||
import ConformanceStore from '@/stores/conformance.js';
|
||||
import cytoscapeMapTrace from '@/module/cytoscapeMapTrace.js';
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
export default {
|
||||
props: ['issusModal', 'issusNo', 'traceId', 'firstCases'],
|
||||
@@ -129,7 +130,7 @@ export default {
|
||||
},
|
||||
showTraceId: function(newValue, oldValue) {
|
||||
let isScrollTop = document.querySelector('.infiniteTable');
|
||||
if(typeof isScrollTop.scrollTop !== 'undefined') if(newValue !== oldValue) isScrollTop.scrollTop = 0;
|
||||
if(isScrollTop && typeof isScrollTop.scrollTop !== 'undefined') if(newValue !== oldValue) isScrollTop.scrollTop = 0;
|
||||
},
|
||||
firstCases: function(newValue, oldValue){
|
||||
this.infiniteData = newValue;
|
||||
|
||||
Reference in New Issue
Block a user