正在显示
3 个修改的文件
包含
4 行增加
和
3 行删除
@@ -37,8 +37,8 @@ function parseJSON(root) { | @@ -37,8 +37,8 @@ function parseJSON(root) { | ||
37 | if (dir.charAt(0) === '.') return; | 37 | if (dir.charAt(0) === '.') return; |
38 | const absDirPath = join(root, dir); | 38 | const absDirPath = join(root, dir); |
39 | const pkg = require(join(absDirPath, 'package.json')); | 39 | const pkg = require(join(absDirPath, 'package.json')); |
40 | - const url = `https://github.com/umijs/umi-blocks/tree/master/${type}/${dir}`; | ||
41 | - const img = `https://github.com/umijs/umi-blocks/blob/master/${type}/${dir}/snapshot.png?raw=true`; | 40 | + const url = `http://gitlab.workai.com.cn/fanwh/workai-design-blocks/tree/master/${type}/${dir}`; |
41 | + const img = `http://gitlab.workai.com.cn/fanwh/workai-design-blocks/blob/master/${type}/${dir}/snapshot.png?raw=true`; | ||
42 | const features = []; | 42 | const features = []; |
43 | if (haveDependencies(pkg, 'antd') || haveImport(absDirPath, 'antd')) { | 43 | if (haveDependencies(pkg, 'antd') || haveImport(absDirPath, 'antd')) { |
44 | features.push('antd'); | 44 | features.push('antd'); |
请
注册
或
登录
后发表评论