From 58c08b95a67ec0b06364c8d8715dde23618286e4 Mon Sep 17 00:00:00 2001 From: wangyuting2 <851424971@qq.com> Date: Thu, 12 May 2022 14:10:10 +0800 Subject: [PATCH] * Fix print extend fields bug. --- framework/control.class.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/framework/control.class.php b/framework/control.class.php index c153bb29f0..4b1d074eb7 100644 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -373,7 +373,7 @@ class control extends baseControl * @access public * @return void */ - public function printExtendFields($object, $type, $extras = '', $print = false) + public function printExtendFields($object, $type, $extras = '', $print = true) { if(!isset($this->config->bizVersion)) return false; @@ -382,12 +382,13 @@ class control extends baseControl $fields = $this->loadModel('flow')->printFields($moduleName, $methodName, $object, $type, $extras); if(!$print) return $fields; - $jsRoot = $this->config->webRoot . "js/"; - $picker = file_get_contents($this->app->getBasePath() . 'app/sys/common/view/picker.html.php'); - $picker = substr($picker, strpos($picker, '