From 4614a540b53edbd83a0a9a483414cfdec0f5d321 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 02 四月 2020 14:52:58 +0800
Subject: [PATCH] 2020-04-02

---
 src/tabviews/commontable/index.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx
index 629e804..8407103 100644
--- a/src/tabviews/commontable/index.jsx
+++ b/src/tabviews/commontable/index.jsx
@@ -217,13 +217,6 @@
         }
       })
 
-      if (config.gridBtn && config.gridBtn.display && _operations.length > 0) {
-        _columns.push({
-          ...config.gridBtn,
-          operations: _operations
-        })
-      }
-
       // 1銆佺瓫閫夊瓧娈甸泦锛�2銆佽繃婊ら殣钘忓垪鍙婂悎骞跺垪涓殑瀛楁uuid
       config.columns.forEach(col => {
         if (col.field) {
@@ -258,6 +251,13 @@
         }
       })
 
+      if (config.gridBtn && config.gridBtn.display && _operations.length > 0) {
+        _columns.push({
+          ...config.gridBtn,
+          operations: _operations
+        })
+      }
+
       let valid = true // 鎼滅储鏉′欢蹇呭~楠岃瘉
       config.search.forEach(field => {
         if (field.required === 'true' && !field.initval) {

--
Gitblit v1.8.0