cube-ui icon indicating copy to clipboard operation
cube-ui copied to clipboard

scroll组件添加下拉属性时使用在服务端渲染报错:window is not define

Open winsan-zhang opened this issue 8 years ago • 1 comments

Version

1.6.1

Reproduction link

https://didi.github.io/cube-ui/#/zh-CN/docs/scroll

Steps to reproduce

正常使用如果不添加scroll的options下拉属性无问题,如果添加该属性则报错:windown is not define,服务端渲染时应该是没有window对象的,是否该组件不能够使用在服务端渲染呢?

What is expected?

无

What is actually happening?

无

Dependencies Version

vue: 2.5.16 better-scroll: 1.8.4

winsan-zhang avatar Mar 28 '18 10:03 winsan-zhang

需要更具体的一些报错信息

dolymood avatar Mar 29 '18 03:03 dolymood