rabin 6 年之前
父节点
当前提交
ffd3d1ab3c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/Api.php

+ 3 - 0
src/Api.php

@@ -336,6 +336,9 @@ class Api
 		if ($attr) {
 			foreach ($attr as $k => $v) {
 				$sort[$k] = $v[$reorder];
+				if ($v['type_option']) {
+                    $attr[$k]['option'] = explode("\n", $v['type_option']);
+                }
 			}
 			array_multisort($sort, SORT_DESC, $attr);
 		}