guoyuji
2024-01-26 d01fa9d49a8c8a723493aecb681d4e1f3e25fce5
north-glass-erp/northglass-erp/src/hook/index.js
@@ -1,12 +0,0 @@
import useProductStore from "@/stores/sd/product/prduct"
let productStore = useProductStore()
export default  function  scrollEvnt(row){
    // 内容高度
    var scrollHeight = row.$event.target.scrollHeight
    var clientHeight = row.$event.target.clientHeight
    var scrollTop = row.$event.target.scrollTop
    //滚动到底部
    if ((Math.round(scrollTop + clientHeight) >= scrollHeight ) ) {
        productStore.flag=true
    }
}