fix(images): src or template image may be recycled on findImage

This commit is contained in:
hyb1996
2018-04-02 11:41:38 +08:00
parent 2a8b0ce3e0
commit 737f1a901f
6 changed files with 39 additions and 39 deletions

View File

@@ -251,7 +251,7 @@ module.exports = function (runtime, global) {
});
if (typeof (view.setOnCheckedChangeListener) == 'function') {
view.setOnCheckedChangeListener(function (v, isChecked) {
emit("check", isChecked, view);
emit("check", isChecked == true ? true : false, view);
});
}
view._id = function (id) {