Commit 332f75c4 authored by 智勇's avatar 智勇

fix

parent dd3ecf9c
...@@ -675,23 +675,21 @@ function str2Object(str, def) { ...@@ -675,23 +675,21 @@ function str2Object(str, def) {
items.sort() items.sort()
// for (let i of items) { for (let i of items) {
// if (def == 1) { if (def == 1) {
// item.push({ item.push({
// label: i, label: i,
// select: false select: false
// }); });
// } else { } else {
// item2[i] = true item2[i] = true
// } }
// } }
// if (def == 1) { if (def == 1) {
// return item return item
// } else { } else {
// return item2 return item2
// } }
return items
} }
exports.get_systems_by_type = async function () { exports.get_systems_by_type = async function () {
await this.bindDefault(); await this.bindDefault();
......
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