moshaorui vor 4 Monaten
Ursprung
Commit
bd1d50be34
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      app/Admin/Controllers/DistAdminDistributorController.php

+ 1 - 0
app/Admin/Controllers/DistAdminDistributorController.php

@@ -127,6 +127,7 @@ class DistAdminDistributorController extends AdminController
             $form->text('country_lang')->width(9,3)->required()->help('Please enter the language code, such as en ru es');
             $form->text('address')->width(9,3);
             $form->switch('enabled')->width(9,3)->default(1);
+            $form->hidden('country_alpha_2');
             //保存前回调
             $form->saving(function (Form $form) {
                 $form->country_alpha_2 = BaseIso3166::getAlpha2($form->country);