From 31aa3ba8a4b028d04c43b5960e23820abffd1ad1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 27 五月 2024 14:23:09 +0800 Subject: [PATCH] 2024-05-27 --- src/api/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index bd49113..f1c531d 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -865,8 +865,8 @@ if (script) { try { // eslint-disable-next-line - let func = new Function('axios', 'Api', 'param', 'position', 'systemType', script) - let promise = func(axios, this, param, position, window.GLOB.systemType) + let func = new Function('axios', 'Api', 'param', 'position', 'systemType', 'notification', script) + let promise = func(axios, this, param, position, window.GLOB.systemType, notification) if (promise instanceof Promise) { return promise -- Gitblit v1.8.0