From 34044707d97b6396325c7fc4cac8d889fae96f85 Mon Sep 17 00:00:00 2001 From: wanglizhong <wlz> Date: 星期六, 10 五月 2025 21:34:53 +0800 Subject: [PATCH] fix:修复map加载显示问题 --- ruoyi-ui/src/views/system/callbacklog/index.vue | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/callbacklog/index.vue b/ruoyi-ui/src/views/system/callbacklog/index.vue index 1a0b084..0735694 100644 --- a/ruoyi-ui/src/views/system/callbacklog/index.vue +++ b/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() { -- Gitblit v1.9.1