From d5c3340757ae00a2ad617c4241dfd3792f36e036 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 14 十二月 2020 18:23:42 +0800
Subject: [PATCH] 2020-12-14

---
 src/menu/components/table/normal-table/index.jsx |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/menu/components/table/normal-table/index.jsx b/src/menu/components/table/normal-table/index.jsx
index d29236f..3472fc2 100644
--- a/src/menu/components/table/normal-table/index.jsx
+++ b/src/menu/components/table/normal-table/index.jsx
@@ -16,7 +16,7 @@
 
 const SettingComponent = asyncIconComponent(() => import('@/menu/datasource'))
 const SearchComponent = asyncComponent(() => import('@/templates/sharecomponent/searchcomponent'))
-const ActionComponent = asyncComponent(() => import('@/menu/actioncomponent'))
+const ActionComponent = asyncComponent(() => import('@/menu/components/share/actioncomponent'))
 const ColumnComponent = asyncComponent(() => import('./columns'))
 const WrapComponent = asyncIconComponent(() => import('./wrapsetting'))
 
@@ -199,6 +199,7 @@
     newcard.errorTime = 10
     newcard.verify = null
     newcard.show = 'button'
+    newcard.btnstyle = {marginRight: '15px'}
 
     // 娉ㄥ唽浜嬩欢-娣诲姞鎸夐挳
     MKEmitter.emit('addButton', card.uuid, newcard)
@@ -238,12 +239,7 @@
           <Icon type="tool" />
         </Popover>
         <SearchComponent config={card} updatesearch={this.updateconfig}/>
-        <ActionComponent
-          type="normaltable"
-          config={card}
-          setSubConfig={this.setSubConfig}
-          updateaction={this.updateComponent}
-        />
+        <ActionComponent config={card} setSubConfig={this.setSubConfig} updateaction={this.updateComponent}/>
         <ColumnComponent config={card} updatecolumn={this.updateconfig}/>
       </div>
     )

--
Gitblit v1.8.0