rabin 4 months ago
parent
commit
f679012d5f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/resource/goods/lib/Order.php

+ 2 - 2
src/resource/goods/lib/Order.php

@@ -85,9 +85,9 @@ class Order
                 'time' => $info['fdate_str'] ?? '',
             ),
         );
-        foreach ($info['status_list'] as $k => &$v) {
+        foreach ($info['status_list'] as $k => &$status_list) {
             if ($info['status'] >= $k) {
-                $v['selected'] = true;
+                $status_list['selected'] = true;
             }
         }
         if ($info['status'] == 1) {