Commit b609a718 by liimin

```

docs(timeout): 更新文件头中的最后编辑时间

将 mixin/timeout.js 文件头部的最后编辑时间从 2025-12-19 13:55:50 更新为
2025-12-22 16:41:32。

fix(timeout): 调整日志打印时机以避免空值输出

将 "停止监听未触碰平板事件" 的日志打印语句移动到 clearInterval 之后执行,
确保在日志中能正确输出 __timer 和 __counter 的当前值。
```
1 parent b0d0c1f1
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48
* @LastEditors: limin
* @LastEditTime: 2025-12-19 13:55:50
* @LastEditTime: 2025-12-22 16:41:32
* @FilePath: \simgle_app\mixin\timeout.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -45,10 +45,10 @@ export default {
endWatchClick() {
if (this.__timer) {
clearInterval(this.__timer)
uni.$logger.local.info('== 停止监听未触碰平板事件 == __timer:' + this.__timer + ' __counter:' + this.__counter)
}
this.__timer = null
this.__counter = 0
uni.$logger.local.info('== 停止监听未触碰平板事件 == __timer:' + this.__timer + ' __counter:' + this.__counter)
},
handleTouchStart() {
if (this.__counter > 0) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!