* Add comment.

This commit is contained in:
tianshujie98
2021-01-26 14:30:15 +08:00
parent 05e01bf850
commit 59876b2256
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -363,8 +363,6 @@ class custom extends control
$this->loadModel('setting');
$data = fixer::input('post')->get();
/* Judgment of required items. */
$this->setting->setItem('system.custom.hourPoint', $data->hourPoint);
$this->setting->setItem('system.custom.scaleFactor', $data->scaleFactor);
$this->setting->setItem('system.custom.cost', $data->cost);
+2
View File
@@ -52,6 +52,8 @@ $(document).ready(function()
function setScaleFactor()
{
var scaleFactor = $('#convertFactor').val();
/* Judgment of required items. */
if(!scaleFactor)
{
alert(notempty);