dyjh 6 年之前
父節點
當前提交
b99c4d944c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/admin/album/product/edit.blade.php

+ 1 - 1
resources/views/admin/album/product/edit.blade.php

xqd
@@ -54,7 +54,7 @@
                                                     @foreach($category as $key=>$val)
                                                         <option value="0">|--{{$val['name']}}</option>
                                                         @foreach($val['son'] as $index=>$item)
-                                                            <option value="{{$item->id}}"  @if($item['id'] == (isset($data['cat_id'])? $data['cat_id']:''))selected @endif>  |-{{$item->name}}</option>
+                                                            <option value="{{$item->id}}"  @if($item['id'] == (isset($data['cat_id'])? $data['cat_id']:''))selected @endif>&nbsp&nbsp|-{{$item->name}}</option>
                                                         @endforeach
                                                     @endforeach
                                                 @endif