+ pivot: add default function to generate pivot data.

This commit is contained in:
liugang
2023-10-27 14:44:31 +08:00
parent 2c48f4a5a6
commit 0c2492c75a
+2
View File
@@ -10,6 +10,8 @@ declare(strict_types = 1);
*/
namespace zin;
$generateData = function() use ($lang) {return div(setClass('bg-white center text-gray w-full h-40'), $lang->error->noData);};
$viewFile = strtolower($method) . '.html.php';
if(file_exists($viewFile)) include_once $viewFile;