enhance the core API and default application

This commit is contained in:
Xuan Sang LE
2020-06-05 17:46:04 +02:00
parent fb462fe31b
commit f84da77825
15 changed files with 55 additions and 31 deletions

View File

@ -179,15 +179,14 @@ detail:
};
this.loglist.onitemclose = (e) => {
let el;
let el: TAG.ListViewItemTag;
if (e && e.data) {
el = e.data.item;
}
if (!el) {
return true;
}
const data = el.get("data");
console.log(data);
const data = el.data;
if (!data.selected) {
return true;
}