Browse Source

默认的

Kirin 3 years ago
parent
commit
c6d18321c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/user/User.php

+ 1 - 1
app/admin/controller/user/User.php

@@ -837,7 +837,7 @@ class User extends AuthController
         $f[] = Form::input('name', $type == 1 ? '姓名' : '企业名', $info ? $info['name'] : '')->required();
         $f[] = Form::input('idcard', $type == 1 ? '身份证号' : '企业统一代码', $info ? $info['idcard'] : '')->required();
         $f[] = Form::input('phone', '联系方式', $info ? $info['phone'] : '')->required();
-        $f[] = Form::cityArea('city_picker', '地区', $info ? $info['province'] . '/' . $info['city'] . '/' . $info['area'] : '')->required();
+        $f[] = Form::cityArea('city_picker', '地区', $info ? [$info['province'], $info['city'], $info['area']] : [])->required();
         $f[] = Form::input('detail_address', '详细地址', $info ? $info['detail_address'] : '')->required();
         $f[] = Form::input('job', $type == 1 ? '职业' : '主营业务', $info ? $info['job'] : '')->required();
         $f[] = Form::number('job_year', $type == 1 ? '职业年限' : '公司年限', $info ? $info['job_year'] : '')->required();