* fix bug.

This commit is contained in:
wangyidong
2023-03-09 14:12:13 +08:00
parent 7ed3f67bb5
commit f99fba7c50
+1 -1
View File
@@ -22,7 +22,7 @@ class editor extends control
public function __construct($module = '', $method = '')
{
parent::__construct($module, $method);
if($this->app->getMethodName() != 'switch' and empty($this->config->global->editor)) $this->locate($this->createLink('dev', 'editor'));
if($this->app->getMethodName() != 'turnon' and empty($this->config->global->editor)) $this->locate($this->createLink('dev', 'editor'));
}
/**