mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-15 01:33:54 +00:00
total cleanups
This commit is contained in:
parent
d71808d036
commit
cf2fb2f958
@ -79,9 +79,7 @@ export default defineComponent({
|
||||
function initScroller() {
|
||||
scrollWrapRef?.value?.addEventListener("scroll", (e: Event) => {
|
||||
const isBottom =
|
||||
scrollWrapRef?.value?.offsetHeight +
|
||||
scrollWrapRef?.value?.scrollTop +
|
||||
40 >
|
||||
scrollWrapRef?.value?.offsetHeight + scrollWrapRef?.value?.scrollTop + 40 >
|
||||
scrollWrapRef?.value?.scrollHeight;
|
||||
|
||||
if (isBottom) {
|
||||
|
@ -183,7 +183,6 @@ export default defineComponent({
|
||||
const tabObserveContainer = ref<any>(null);
|
||||
const currentItem = ref("");
|
||||
|
||||
|
||||
const l = dashboardStore.layout.findIndex((d: LayoutConfig) => d.i === props.data.i);
|
||||
if (dashboardStore.layout[l].children.length) {
|
||||
dashboardStore.setCurrentTabItems(
|
||||
|
Loading…
Reference in New Issue
Block a user