Commit d8e1f3b6 by MichaelJier

fix

1. 去除listScroll() console
parent 8ebb0e55
......@@ -115,7 +115,6 @@ export default {
if (fatherWidth >= childWidth) return
const max = childWidth - fatherWidth
const scrollLeft = boxScroll.scrollLeft
console.log(max, scrollLeft)
if (scrollLeft > 0 && scrollLeft < max) {
boxScroll.style.background = 'radial-gradient(at left, rgba(0,0,0,.3), transparent 70%) left/ 15px 200%, radial-gradient(at right, rgba(0,0,0,.3), transparent 70%) right / 15px 200%'
boxScroll.style['background-repeat'] = 'no-repeat'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment