update:更新form功能

This commit is contained in:
JaguarJack
2021-03-29 19:51:41 +08:00
parent 114387d030
commit 2f25a0892e
4 changed files with 69 additions and 26 deletions

View File

@@ -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();
}
/**
* 创建目录
*