wzp
2025-05-09 ef6a2fb3b547190f35b3baf99280eaead42b4f57
ruoyi-ui/src/views/system/callbacklog/index.vue
@@ -337,11 +337,22 @@
    handleRetry(row) {
      const id = row.id;
      this.$modal.confirm('是否确认重试该回调记录?').then(function() {
        return retryCallbacklog(id);
        // 创建带有超时设置的请求配置
        const config = {
          timeout: 60000  // 设置60秒超时
        };
        return retryCallbacklog(id, config);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("触发重试成功");
      }).catch(() => {});
      }).catch((error) => {
        // 添加错误处理
        if (error.message.includes('timeout')) {
          this.$modal.msgError("请求超时,请稍后重试");
        } else {
          this.$modal.msgError("重试失败:" + error.message);
        }
      });
    },
    /** 批量触发回调重试 */
    handleBatchRetry() {