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