ソースを参照

!97 fix 头像字段不显示为图片类型
Merge pull request !97 from longdahai/fix-crud

Karson 7 年 前
コミット
1c37e2af07
1 ファイル変更1 行追加0 行削除
  1. 1 0
      application/admin/command/Crud.php

+ 1 - 0
application/admin/command/Crud.php

@@ -75,6 +75,7 @@ class Crud extends Command
         'url'    => 'url',
         'image'  => 'image',
         'images' => 'images',
+        'avatar' => 'image',
         'switch' => 'toggle',
         'time'   => ['type' => ['int', 'timestamp'], 'name' => 'datetime']
     ];