FileInput.php
public function preInit ()
    {
        if (!isset(Yii::$app->params[$this->imageDomainConfigParam]) && !isset($this->clientOptions['imageServer'])) {
            throw new InvalidConfigException("'FileInput clientOptions的imageServer配置项或者params.php的配置项FileInput::imageDomainConfigParam'至少要设置一个.");
        }
    }
public function preInit ()
    {
        if (!isset(Yii::$app->params[$this->imageDomainConfigParam]) && !isset($this->clientOptions['imageServer'])) {
            throw new InvalidConfigException("'FileInput clientOptions的imageServer配置项或者params.php的配置项FileInput::imageDomainConfigParam'至少要设置一个.");
        }
    }
pre init