4

我正在尝试使用 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)
4

0 回答 0