Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
删除缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
xinglie committed Nov 12, 2024
1 parent 27b2573 commit de97e93
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/tmpl/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'$<click>'(e){
console.log('view root click',e);
}
range:{
app:{
20:{
Expand Down Expand Up @@ -253,25 +253,25 @@ let Body_DOMEventProcessor = domEvent => {
}
target = target.parentNode || G_DOCBODY;
}
if ((fn = arr.length)) {
ignore = G_HashKey;
for (; fn--;) {
view = arr[fn];
if (view.nodeType) {
if (!(eventInfos = Body_RangeEvents[ignore])) {
eventInfos = Body_RangeEvents[ignore] = {};
}
lastVfId = view['@{node#guid}'] || (view['@{node#guid}'] = ++Body_Guid);
if (!(params = eventInfos[lastVfId])) {
params = eventInfos[lastVfId] = {};
//view['@{node#owner.vframe}'] = ignore;
}
params[type] = 1;
} else {
ignore = view;
}
}
}
// if ((fn = arr.length)) {
// ignore = G_HashKey;
// for (; fn--;) {
// view = arr[fn];
// if (view.nodeType) {
// if (!(eventInfos = Body_RangeEvents[ignore])) {
// eventInfos = Body_RangeEvents[ignore] = {};
// }
// lastVfId = view['@{node#guid}'] || (view['@{node#guid}'] = ++Body_Guid);
// if (!(params = eventInfos[lastVfId])) {
// params = eventInfos[lastVfId] = {};
// //view['@{node#owner.vframe}'] = ignore;
// }
// params[type] = 1;
// } else {
// ignore = view;
// }
// }
// }
};
let Body_DOMEventBind = (type, searchSelector, remove) => {
let counter = Body_RootEvents[type] | 0;
Expand Down

0 comments on commit de97e93

Please sign in to comment.