From 24f0ce147c8daef39ec437d5def9d089ea5b1839 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 05 六月 2020 17:23:53 +0800
Subject: [PATCH] 2020-06-05

---
 src/templates/formtabconfig/source.jsx |   50 +++++++++++++++++++++++---------------------------
 1 files changed, 23 insertions(+), 27 deletions(-)

diff --git a/src/templates/formtabconfig/source.jsx b/src/templates/formtabconfig/source.jsx
index 962016e..cb82f99 100644
--- a/src/templates/formtabconfig/source.jsx
+++ b/src/templates/formtabconfig/source.jsx
@@ -6,12 +6,12 @@
 
 class CommonTableBaseData {
   baseConfig = {
-    type: 'FormTab',
+    Template: 'FormTab',
     enabled: false,
     setting: {
       datatype: 'query',
       cols: '2',
-      width: 100
+      width: 90
     },
     tables: [],
     groups: [
@@ -92,31 +92,27 @@
         class: 'border-danger'
       }
     ],
-    tabs: [
-      {
-        origin: true,          // 鏄惁涓虹ず渚�
-        groupId: 'tabs',
-        uuid: Utils.getuuid(),
-        label: 'tab1',
-        icon: '',
-        type: 'SubTable',
-        linkTab: '',
-        subtabs: [],
-        supMenu: ''
-      },
-      {
-        origin: true,
-        groupId: 'tabs',
-        uuid: Utils.getuuid(),
-        label: 'tab2',
-        icon: '',
-        type: 'SubTable',
-        linkTab: '',
-        subtabs: [],
-        supMenu: ''
-      }
-    ],
-    tabgroups: ['tabs']
+    tabgroups: [{
+      uuid: 'tabs',
+      sublist: [
+        {
+          origin: true,          // 鏄惁涓虹ず渚�
+          uuid: Utils.getuuid(),
+          label: 'tab1',
+          type: 'SubTable',
+          linkTab: '',
+          supMenu: ''
+        },
+        {
+          origin: true,
+          uuid: Utils.getuuid(),
+          label: 'tab2',
+          type: 'SubTable',
+          linkTab: '',
+          supMenu: ''
+        }
+      ]
+    }]
   }
 
   searchItems = [

--
Gitblit v1.8.0