EasyScroll icon indicating copy to clipboard operation
EasyScroll copied to clipboard

加载打包没有问题,但是运行报错

Open sadianliaoer opened this issue 7 years ago • 0 comments

最简单的应用

myBarOption: { barColor: '#959595', barWidth: 6, railColor: '#eee', barMarginRight: 0, barMaginBottom: 0, barOpacityMin: 0.3, zIndex: 'auto', autohidemode: true, horizrailenabled: true },

报错信息

Cannot read property 'options' of undefined

Component._Ctor.options.data = Component.options.data

} }

export function sanitizeComponent (Component) { if (!Component.options) { Component = Vue.extend(Component) // fix issue #6 Component._Ctor = Component } else { Component._Ctor = Component Component.extendOptions = Component.options

请问怎么解决?

sadianliaoer avatar Dec 15 '17 11:12 sadianliaoer