|
|
@ -702,12 +702,8 @@ function selectSource() { |
|
|
|
manage.change(); |
|
|
|
manage.change(); |
|
|
|
manage.scrollToPosition(index, true); |
|
|
|
manage.scrollToPosition(index, true); |
|
|
|
} else if (i === 2) { |
|
|
|
} else if (i === 2) { |
|
|
|
let sorttype = ["更新时间","接口名称","使用频率"]; |
|
|
|
let sorttype = ["更新时间","接口名称","使用频率"].map(v=>v==getItem('sourceListSort','更新时间')?v+"√":v); |
|
|
|
sorttype.forEach(v=>{ |
|
|
|
log(sorttype); |
|
|
|
if(v==getItem('sourceListSort','更新时间')){ |
|
|
|
|
|
|
|
v = v+"√"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
showSelectOptions({ |
|
|
|
showSelectOptions({ |
|
|
|
"title": "选择排序方式",
|
|
|
|
"title": "选择排序方式",
|
|
|
|
"options" : sorttype,
|
|
|
|
"options" : sorttype,
|
|
|
|