diff --git a/route/static/app/soft.js b/route/static/app/soft.js index f938621a5..7ead88ade 100755 --- a/route/static/app/soft.js +++ b/route/static/app/soft.js @@ -98,7 +98,7 @@ function getSList(isdisplay) { } - var handle = '安装'; + var handle = '安装';//plugin.coexist if (plugin.setup == true) { @@ -171,18 +171,22 @@ function getSList(isdisplay) { },'json'); } -function addVersion(name, ver, type, obj, title) { +function addVersion(name, ver, type, obj, title, coexist) { var option = ''; - var titlename = name; + var titlename = title; if (ver.indexOf('|') >= 0){ var veropt = ver.split("|"); var SelectVersion = ''; for (var i = 0; i < veropt.length; i++) { - SelectVersion += ''; + SelectVersion += ''; } option = ""; } else { - option = '' + name + ' ' + ver + ''; + if (coexist){ + option = '' + title + ''; + } else { + option = '' + title + ' ' + ver + ''; + } } layer.open({