我正在尝试使用Polymer 2.0.0-rc.7和WebComponents 1.0.0-rc.5构建我的个人网站。
但是我的自定义元素没有显示在Chrome浏览器(版本58.0.3029.81(64位))和IE 11上,我打开了DevTools并看到了以下错误。
如果您知道以下错误的解决方案,请帮助我。
感谢。
Uncaught TypeError: this._propertySetter is not a function
at HTMLElement.__setMulti (app-route.html:402)
at HTMLElement.__tryToMatch (app-route.html:328)
at Object.runMethodEffect [as fn] (property-effects.html:768)
at runEffectsForProperty (property-effects.html:137)
at runEffects (property-effects.html:103)
at HTMLElement._propertiesChanged (property-effects.html:1554)
at HTMLElement._flushProperties (property-accessors.html:496)
at HTMLElement._flushClients (property-effects.html:1468)
at HTMLElement._propertiesChanged (property-effects.html:1550)
at HTMLElement._flushProperties (property-accessors.html:496)
Uncaught TypeError: Cannot read property 'split' of undefined
app-scroll-effects-behavior.html:274
at HTMLElement._effectsChanged (app-scroll-effects-behavior.html:274)
at Object.runMethodEffect [as fn] (property-effects.html:768)
at runEffectsForProperty (property-effects.html:137)
at runEffects (property-effects.html:103)
at HTMLElement._propertiesChanged (property-effects.html:1554)
at HTMLElement._flushProperties (property-accessors.html:496)
at HTMLElement._invalidateProperties (property-effects.html:1432)
at HTMLElement._setProperty (property-effects.html:1418)
at HTMLElement.Object.defineProperty.set (property-accessors.html:391)
at HTMLElement.connectedCallback (legacy-element-mixin.html:82)