|
@@ -1030,8 +1030,8 @@ class NewsService implements NewsServiceInterface
|
|
|
// $total = 0;
|
|
|
if (!empty($other)) {
|
|
|
$total = $total + $other['results'];
|
|
|
- $other['choice_name'] = $other['choice_name'] . '(其他)';
|
|
|
- if (!empty($others)) {
|
|
|
+ $other['choice_name'] ='(其他)';
|
|
|
+ if(!empty($others)){
|
|
|
$other['hasChildren'] = true;
|
|
|
// array_push($other,['hasChildren','=',true]);
|
|
|
$other['children'] = $others;
|