From 6afdec0062dacbded57e166230eb22cc55ced0c1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 08 五月 2021 14:30:21 +0800
Subject: [PATCH] 2021-05-08

---
 src/tabviews/zshare/normalTable/index.jsx |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/tabviews/zshare/normalTable/index.jsx b/src/tabviews/zshare/normalTable/index.jsx
index 3746355..ac7f9c5 100644
--- a/src/tabviews/zshare/normalTable/index.jsx
+++ b/src/tabviews/zshare/normalTable/index.jsx
@@ -139,7 +139,10 @@
         if (item.rowspan === 'true') {
           rowspans.push(item.field)
         }
-        if (_format && !Math.floor(Math.random() * radio)) {
+        if (item.type === 'index') {
+          item.field = '$Index'
+          item.type = 'text'
+        } else if (_format && !Math.floor(Math.random() * radio)) {
           item.blur = true
         }
 
@@ -165,14 +168,6 @@
           render: (text, record) => {
             return this.getContent(item, record)
           }
-        }
-      }
-      
-      if (item.fixed === true || item.fixed === 'true') {
-        if (index < columns.length / 2) {
-          cell.fixed = 'left'
-        } else {
-          cell.fixed = 'right'
         }
       }
       

--
Gitblit v1.8.0