From b223552a0c4bc787ad251add025a93d77527ffbe Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 18 十二月 2021 23:36:28 +0800
Subject: [PATCH] 2021-12-18

---
 src/pc/createview/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/pc/createview/index.jsx b/src/pc/createview/index.jsx
index a297cd1..bff41f3 100644
--- a/src/pc/createview/index.jsx
+++ b/src/pc/createview/index.jsx
@@ -71,7 +71,10 @@
         tables: [],
         components: [],
         viewType: 'menu',
-        style: {}
+        statusBarbgColor: sessionStorage.getItem('sysBgColor') || '#ffffff',
+        style: {
+          backgroundColor: sessionStorage.getItem('sysBgColor') || '#ffffff'
+        }
       }
 
       let param = {
@@ -163,6 +166,7 @@
             config.components = MenuUtils.resetConfig(_config.components)
             config.tables = _config.tables || []
             config.style = _config.style || {}
+            config.statusBarbgColor = _config.statusBarbgColor || ''
           }
   
           param.LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(config)))

--
Gitblit v1.8.0