From 870b6e10f9428e769530b94df3034e567a516429 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 21 六月 2022 00:53:58 +0800
Subject: [PATCH] 2022-06-21

---
 src/templates/zshare/modalform/fieldtable/index.jsx |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx
index 0a64952..96a3fcd 100644
--- a/src/templates/zshare/modalform/fieldtable/index.jsx
+++ b/src/templates/zshare/modalform/fieldtable/index.jsx
@@ -63,11 +63,20 @@
         editable: true,
         width: '20%',
         options: [
-          {value: 'left', text: 'left'},
-          {value: 'center', text: 'center'},
-          {value: 'right', text: 'right'},
-          {value: 'justify', text: 'justify'}
-        ]
+          {value: 'left', text: '灞呭乏'},
+          {value: 'center', text: '灞呬腑'},
+          {value: 'right', text: '灞呭彸'},
+          // {value: 'justify', text: 'justify'}
+        ],
+        render: (text, record) => {
+          if (text === 'center') {
+            return '灞呬腑'
+          } else if (text === 'right') {
+            return '灞呭彸'
+          } else {
+            return '灞呭乏'
+          }
+        }
       }
     ]
   }

--
Gitblit v1.8.0