|
|
@ -90,11 +90,11 @@ |
|
|
|
//释放当前对象
|
|
|
|
//释放当前对象
|
|
|
|
_purgeRef: function () { |
|
|
|
_purgeRef: function () { |
|
|
|
if (this.options.__ref) { |
|
|
|
if (this.options.__ref) { |
|
|
|
this.options.__ref.call(null); |
|
|
|
this.options.__ref.call(null, null); |
|
|
|
this.options.__ref = null; |
|
|
|
this.options.__ref = null; |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.options.ref) { |
|
|
|
if (this.options.ref) { |
|
|
|
this.options.ref.call(null); |
|
|
|
this.options.ref.call(null, null); |
|
|
|
this.options.ref = null; |
|
|
|
this.options.ref = null; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|