update:更新form功能
This commit is contained in:
@@ -22,6 +22,20 @@ class CatchAdmin
|
||||
return app()->getRootPath() . self::$root . DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置 root
|
||||
*
|
||||
* @time 2021年03月28日
|
||||
* @param $root
|
||||
* @return CatchAdmin
|
||||
*/
|
||||
public static function setRoot($root): CatchAdmin
|
||||
{
|
||||
self::$root = $root;
|
||||
|
||||
return new self();
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建目录
|
||||
*
|
||||
|
Reference in New Issue
Block a user