dever hace 6 años
padre
commit
f4acec4c79
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/View.php

+ 1 - 1
src/View.php

@@ -59,7 +59,7 @@ class View
             }
         }
         if (!is_numeric($key)) {
-            $data += Dever::load($key);
+            $data += Dever::load($key, $data);
         } else {
             $data['name'] = '文件名';
             $data['file'] = Dever::db('upload/file')->getData($param);