From bb294acf71c7c9b1da49251f116fc057160e9006 Mon Sep 17 00:00:00 2001 From: walkor Date: Fri, 9 Dec 2022 14:38:37 +0800 Subject: [PATCH] save --- src/plugin/admin/app/common/Util.php | 10 +++++----- src/plugin/admin/app/view/account/login.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugin/admin/app/common/Util.php b/src/plugin/admin/app/common/Util.php index 913dad4..a177586 100644 --- a/src/plugin/admin/app/common/Util.php +++ b/src/plugin/admin/app/common/Util.php @@ -276,18 +276,18 @@ class Util static public function typeToControl($type): string { if (stripos($type, 'int') !== false) { - return 'InputNumber'; + return 'inputNumber'; } if (stripos($type, 'time') !== false || stripos($type, 'date') !== false) { - return 'DatePicker'; + return 'dateTimePicker'; } if (stripos($type, 'text') !== false) { - return 'InputTextArea'; + return 'textArea'; } if ($type === 'enum') { - return 'Select'; + return 'select'; } - return 'Input'; + return 'input'; } /** diff --git a/src/plugin/admin/app/view/account/login.html b/src/plugin/admin/app/view/account/login.html index 1e25810..414dba6 100644 --- a/src/plugin/admin/app/view/account/login.html +++ b/src/plugin/admin/app/view/account/login.html @@ -16,13 +16,13 @@
webman admin
- +
- +
- +