从版本 1.1 >
Qiongpan Ke编辑
在2024-04-10上
到版本
Qiongpan Ke编辑
在2024-04-10上
>
修改评论: 该版本没有评论

摘要

细节

Icon 页面属性
内容
... ... @@ -16,7 +16,7 @@
16 16   const clearFn = function() { delete window[funName]; };
17 17   const timerId = setTimeout(function() { clearFn(); attribs.timeoutCallback && attribs.timeoutCallback(); }, attribs.timeoutInterval || 5 * 60 * 1000);
18 18   const funBody = function() { callback.apply(this, arguments); clearTimeout(timerId); clearFn(); };
19 - const tempObj = { action: funBody };
19 + const tempObj = { name: funName, action: funBody };
20 20   Object.assign(funBody, callback);
21 21   Object.assign(tempObj, attribs);
22 22   return setupFn(tempObj) + '.action';

同级页面

版权所有,如发现盗用模仿必追诉法律责任!
CopyRight © 2020-2023 keqiongpan.cn. All Right Reserved.