From b636a3f64219455ee680bd626c65282c636cfcef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 07 七月 2021 19:06:13 +0800
Subject: [PATCH] 2021-07-07

---
 src/mob/components/topbar/normal-navbar/index.jsx |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/mob/components/topbar/normal-navbar/index.jsx b/src/mob/components/topbar/normal-navbar/index.jsx
index ca764ec..0ce1712 100644
--- a/src/mob/components/topbar/normal-navbar/index.jsx
+++ b/src/mob/components/topbar/normal-navbar/index.jsx
@@ -33,7 +33,7 @@
         uuid: card.uuid,
         type: card.type,
         floor: card.floor,
-        width: card.width || 24,
+        width: 24,
         subtype: card.subtype,
         wrap: { type: 'navbar', height: 50, title: 'NavBar', back: 'true', search: 'false', logout: 'false' },
         style: {borderBottomColor: '#bcbcbc', borderBottomWidth: '1px', paddingLeft: '10px', paddingRight: '10px', lineHeight: '2.8', fontSize: '18px' },
@@ -84,9 +84,6 @@
     this.setState({
       card: component
     })
-
-    component.width = component.wrap.width
-    component.name = component.wrap.name
 
     this.props.updateConfig(component)
   }

--
Gitblit v1.8.0