diff --git a/docs/download.md b/docs/download.md index f920d1734b..71363bb7c6 100644 --- a/docs/download.md +++ b/docs/download.md @@ -9,7 +9,7 @@ ## 直接下载 -- **开发版** 1.0.2 +- **开发版** -- **稳定版** 1.0.0 +- **稳定版** - + 下载 - **历史版本**:https://github.com/ant-design/ant-design/releases @@ -86,11 +79,9 @@ $('#latest-links a').each(function(i, item) { if (antdVersion.stable) { $('#stable-version').html(antdVersion.stable); - $('#stable-links a').each(function(i, item) { - $(item).attr('href', $(item).attr('href').replace('dist/antd', 'dist/antd-' + antdVersion.stable)); - }); + $('#stable-link').attr('href', 'https://github.com/ant-design/ant-design/releases/tag/' + antdVersion.stable); } else { $('#stable-version').html('暂无'); - $('#stable-links').hide(); + $('#stable-link').hide(); } diff --git a/package.json b/package.json index c27c5955df..90394c95a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "antd", "version": "0.7.1", + "stableVersion": "0.7.0", "title": "Ant Design", "description": "一个设计&前端框架", "homepage": "http://ant.design/",