Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插件默认排序问题 #39

Open
sadoneli opened this issue Aug 21, 2021 · 0 comments
Open

插件默认排序问题 #39

sadoneli opened this issue Aug 21, 2021 · 0 comments
Milestone

Comments

@sadoneli
Copy link
Contributor

目前插件默认排序
在已安装里,是按照name字段排的
在所有插件里,是按照app.json.js里的插件顺序渲染的

现在需要插件排序,目前已经在插件的对象中加入了order字段,如下

    {
      "author": "sadog",
      "build_date": "2021-08-20_22:31:27",
      "changelog": "",
      "description": "koolcenter/softcenter 一键来回切换!",
      "home_url": "Module_center.asp",
      "link": "",
      "md5": "3284e0493622d2794ce13d4fb0d9df9d",
      "name": "center",
      "tags": "辅助 工具",
      "tar_url": "center/center.tar.gz",
      "title": "软件中心一键切换",
      "version": "1.4",
      "order": 10
    }

新的app.json.js已经上线:https://rogsoft.ddnsto.com/koolcenter/app.json.js

要求

  1. 已安装的默认渲染顺序:按照版本号从高到低进行排序,而不是name字段,保证断网后,插件的顺序也是较为活跃的插件在前
  2. 已安装和所有插件,在name渲染排序基础上,使用oderder字段进行排序,order值 1 - 100则打上推荐标签
@jannson jannson added this to the 1.9.1-UI milestone Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants