From 0f16b8f5e70aa0229662f639569ff7cb94bd6a49 Mon Sep 17 00:00:00 2001 From: 2450357564 <46582006+2450357564@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:47:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cancelRangeMerge=E7=9A=84success?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=87=BD=E6=95=B0=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/api.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/global/api.js b/src/global/api.js index 281e7d9b..ea80c4c7 100644 --- a/src/global/api.js +++ b/src/global/api.js @@ -3447,6 +3447,10 @@ export function cancelRangeMerge(options = {}) { file.data = data; file.config = cfg; } + + if (success && typeof success === 'function') { + success(); + } } /**