Commit fd213781 by fukai

补充数据返回事件

parent 9ed8991e
......@@ -42,6 +42,10 @@ const Step = Steps.Step;
if(typeof data=='string')
{
data = JSON.parse(data)
let event = document.createEvent("HTMLEvents")
event.initEvent("message",true,true)
event.data = data
window.dispatchEvent(event)
}
if(data.errorCode == '0000')
this.setState({isOK:0})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment