@@ -103,7 +103,9 @@ class Level extends Controller
*/
protected function _form_filter(&$data)
{
-
+ if($this->request->isGet()) {
+ $this->price = !empty($data['price']) ? json_decode($data['price'],true):[];
+ }
}
@@ -29,7 +29,7 @@
</th>
</tr>
</thead>
- <!--{foreach :json_decode($vo.price,true) as $param}-->
+ <!--{foreach $price as $param}-->
<tr class="param_index">
<td class="padding-0" >
<input class="layui-input border-0" name="title[]" value="{$param.title|default=''}">