Commit 88ddcca7 authored by 智勇's avatar 智勇

fix

parent aa9e3529
...@@ -647,6 +647,8 @@ function str2Object(str, def) { ...@@ -647,6 +647,8 @@ function str2Object(str, def) {
items = str.split(","); items = str.split(",");
} }
items.sort()
for (let i of items) { for (let i of items) {
if (def == 1) { if (def == 1) {
item.push({ item.push({
...@@ -736,7 +738,6 @@ exports.get_images = async function () { ...@@ -736,7 +738,6 @@ exports.get_images = async function () {
imgs.push(k.name) imgs.push(k.name)
} }
} }
imgs.sort()
this.body = imgs; this.body = imgs;
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment