From 69b2e97935cdf06e1803c738544ad18f7ba3d6c7 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Sat, 19 Jul 2025 09:30:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/8552=E3=80=91useScript=E7=9A=84?= =?UTF-8?q?isLoading=E9=BB=98=E8=AE=A4=E5=80=BC=E5=BA=94=E8=AF=A5=E6=98=AF?= =?UTF-8?q?true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3/src/hooks/web/useScript.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jeecgboot-vue3/src/hooks/web/useScript.ts b/jeecgboot-vue3/src/hooks/web/useScript.ts index 9707116a..585c2671 100644 --- a/jeecgboot-vue3/src/hooks/web/useScript.ts +++ b/jeecgboot-vue3/src/hooks/web/useScript.ts @@ -5,7 +5,9 @@ interface ScriptOptions { } export function useScript(opts: ScriptOptions) { - const isLoading = ref(false); + // date-begin--author:liaozhiyang---date:20250716---for:【issues/8552】useScript的isLoading默认值应该是true + const isLoading = ref(true); + // date-end--author:liaozhiyang---date:20250716---for:【issues/8552】useScript的isLoading默认值应该是true const error = ref(false); const success = ref(false); let script: HTMLScriptElement;