React js Uncaught TypeError ReactFireMixin错误

时间:2016-01-29 13:27:00

标签: reactjs firebase ecmascript-6

我正在尝试创建一个简单的应用程序,现在正在尝试集成Firebase,但我收到错误:

var oSerialData = $( '#idTab' ).serialize(); => ""
oSerialData = $( '#idFormulaire #idtab-page-0' ).serialize(); => ""

var test = $( '#idFormulaire' ).find( '#idtab-page-0' ).serialize(); => ""
var serial1 =$( "#idFormulaire :input" ).serialize(); => "cboxClosed=2&pickerDateFin=&Comment=&pickerDateDeb="
serial1 =$( "div" ).serialize(); => ""
serial1 =$( "idFormulaire :checked" ).serialize(); => ""
serial1 =$( "form" ).serialize(); => "cboxClosed=2&pickerDateFin=&Comment=&pickerDateDeb="

这是我的代码:

serial1 =$( "#idTab" ).children()

这是我的webpack配置,不确定是否需要,但无论如何都要添加。

Uncaught TypeError: Cannot set property 'ReactFireMixin' of undefined

(anonymous function)    @   bundle.js:19765
ReactFireMixin.componentWillMount.firebaseRefs  @   bundle.js:19766
(anonymous function)    @   bundle.js:19774
__webpack_require__ @   bundle.js:20
(anonymous function)    @   bundle.js:57
__webpack_require__ @   bundle.js:20
(anonymous function)    @   bundle.js:40
(anonymous function)    @   bundle.js:43

请帮帮我:)。

0 个答案:

没有答案