Failed to get the children of dom in vue

in the vue project, you have the following code:

<div ref="warePage">
        <sub-products-setting id="floor_0" v-if="pSubProductInfoVO.isShow" ref="subProductsRef"></sub-products-setting>
        <basic-info id="floor_1" v-if="pBasicInfoVO.isShow" ref="basicInfoRef"></basic-info>
        <sku-info id="floor_2" v-if="pSkuInfoListVO.isShow" ref="skuInfosRef"></sku-info>
        <product-imgs id="floor_3" v-if="pProductImgInfoVO.isShow" ref="productImgRef"></product-imgs>
        <delivery-info id="floor_4" v-if="pDeliveryInfoVO.isShow" ref="deliveryInfoRef"></delivery-info>
        <ware-house id="floor_5" v-if="pWarehouseInfoVO.isShow" ref="warehouseRef"></ware-house>
        <description-info id="floor_6" v-if="pDescriptionsInfoVO.isShow" ref="descriptionRef"></description-info>
        <account-info id="floor_7" v-if="pManAccountVO.isShow" ref="accountInfoRef"></account-info>
        <ordiary-info id="floor_8" v-if="pOrdinaryAttrInfoVO.isShow" ref="ordinaryInfoRef"></ordiary-info>
        <!---->
        <business-relate id="floor_9" v-if="pBusinessRelateInfoVO.isShow && !isVirtualSuitWare" ref="businessInfoRef"></business-relate>      
</div>

then traverse in created:

 created() {
            // 
            window.addEventListener("scroll", function () {
                console.log(typeof self.$refs.warePage.children)
                self.$refs.warePage.children.forEach((floor, index) => {
                    // if (winHeight + scrollHeight - $(floor).offset().top > winHeight / 2) {
                        console.log("activeIndex--->" + index)
                    // }
                })
            }, false)
        }
        
        :

clipboard.png
object


:
self.$refs.warePage.children:

clipboard.png

May I ask what the reason is? I need to traverse ref for warePublishPage under the children how to deal with?

Mar.13,2021

try

  

is there a problem printing out object

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31f33-2bdd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31f33-2bdd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?