| | |
| | | <!-- |
| | | * @Author: licp lichunping@guanfang.com.cn |
| | | * @Date: 2024-08-20 09:31:20 |
| | | * @LastEditors: licp lichunping@guanfang.com.cn |
| | | * @LastEditTime: 2024-12-19 09:57:53 |
| | | * @FilePath: \tx-lims-before\src\view\timer.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | | <template> |
| | | <div> |
| | | <el-dialog |
| | |
| | | const hours = now.getHours(); |
| | | const minutes = now.getMinutes(); |
| | | |
| | | if (hours === 20 && minutes === 0) { |
| | | if (hours === 22 && minutes === 0) { |
| | | this.performTask(); |
| | | // 设置20分钟后提示关闭 |
| | | this.closeTimeout = setTimeout(() => { |