mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
小细节优化
This commit is contained in:
@@ -294,7 +294,7 @@ function trace($log = '[think]', $level = 'log')
|
||||
* @param array $vars 模板变量
|
||||
* @return string
|
||||
*/
|
||||
function V($template, $vars)
|
||||
function V($template = '', $vars = [])
|
||||
{
|
||||
return \think\View::instance(\think\Config::get())->fetch($template, $vars);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user