From 7c4e955aa35cf5aa2a0c86fe19d930b7fcbffd74 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 14 五月 2025 17:00:43 +0800
Subject: [PATCH] 2025-05-14

---
 src/tabviews/custom/components/code/sand-box/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/code/sand-box/index.jsx b/src/tabviews/custom/components/code/sand-box/index.jsx
index c460bcc..0116fe3 100644
--- a/src/tabviews/custom/components/code/sand-box/index.jsx
+++ b/src/tabviews/custom/components/code/sand-box/index.jsx
@@ -42,8 +42,12 @@
     }
     
     if (_config.wrap.datatype !== 'static') {
-      _config.setting.onload = _config.setting.sync === 'true' ? 'false' : 'true'
+      _config.setting.onload = _config.setting.sync === 'true' ? 'false' : _config.setting.onload || 'true'
 
+      if (_config.setting.supModule && !BID) {
+        _config.setting.onload = 'false'
+      }
+      
       if (_config.setting.sync === 'true' && window.GLOB.SyncData.has(_config.dataName)) {
         _data = window.GLOB.SyncData.get(_config.dataName) || []
   

--
Gitblit v1.8.0