Commit 6017618e authored by campaign's avatar campaign

添加importdata事件

parent d1282765
......@@ -126,6 +126,10 @@ kity.extendClass( Minder, {
json = params.json || ( params.json = protocal.decode( local ) );
this._fire(new MinderEvent('importData',{
data:json
},true));
if ( typeof json === 'object' && 'then' in json ) {
var self = this;
json.then( local, function ( data ) {
......
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