fix bug
This commit is contained in:
@@ -92,6 +92,7 @@ class Article
|
||||
->limit(env("page_count"))
|
||||
->select();
|
||||
foreach($lists as $vo){
|
||||
$vo['imgs'] = "";
|
||||
if(!empty($vo['imgs'])) {
|
||||
$vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true);
|
||||
$vo['imgs']= $vo['imgs'][0];
|
||||
|
||||
Reference in New Issue
Block a user