From bc6dbb2bff0dfc1eba734ec48f647d89e0c04b0d Mon Sep 17 00:00:00 2001 From: jqh <841324345@qq.com> Date: Mon, 8 Mar 2021 14:07:43 +0800 Subject: [PATCH] fix #1091 --- src/Grid/Displayers/Limit.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Grid/Displayers/Limit.php b/src/Grid/Displayers/Limit.php index cbfba368f..3b165971f 100644 --- a/src/Grid/Displayers/Limit.php +++ b/src/Grid/Displayers/Limit.php @@ -42,9 +42,7 @@ public function display($limit = 100, $end = '...') $value = Helper::strLimit($this->value, $limit, $end); - $original = $this->column->getOriginal(); - - if ($value == $original) { + if ($value == $this->value) { return $value; } @@ -54,7 +52,7 @@ public function display($limit = 100, $end = '...')   
- {$original} + {$this->value}   
HTML;