From 44c125732618410011e257d8b92cfd1260306c1d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 21 Nov 2017 16:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BPivot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/model/Pivot.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/think/model/Pivot.php b/library/think/model/Pivot.php index 8c04266d..3fdd58fc 100644 --- a/library/think/model/Pivot.php +++ b/library/think/model/Pivot.php @@ -37,8 +37,6 @@ class Pivot extends Model } parent::__construct($data); - - $this->class = $this->name; } }