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

feature(dao-svg): add svg #192

Merged
merged 2 commits into from Jun 30, 2017
Merged

feature(dao-svg): add svg #192

merged 2 commits into from Jun 30, 2017

Conversation

vivian-xu
Copy link
Collaborator

@vivian-xu vivian-xu commented Jun 26, 2017

步骤一

请您按照规范确认这个PR的类型:

  • feature/fix/docs PR

步骤二

完成以下内容的填写,您就可以顺利提交 Pull Request:

1. 填写Pull Reqeust主要针对的类型于下一行,选项有:bug/feature(特性)/enhancement(增强)/docs(文档)

feature

2. Pull Request的简要介绍(请填于下一行)

3. Pull Request针对问题的重现方式(没有请在下一行填“无”)

4. Pull Request可能涉及到的组件范围(没有请在下一行填“无”)

@allencloud
Copy link

由于这个问题,本来周一要解决,而且重要性比较高,请 @ZhuJingSi @jamiefang 尽快review并推进,如果需要其他同事帮助,请尽快involve

console.log(this.svgs);
},
};
</script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注意文件格式,建议将编辑器添加editorconfig

@vivian-xu
Copy link
Collaborator Author

update

@cinderyx
Copy link
Contributor

svg 需要文档么?以及设计师怎么添加图标需要在某处说明吧

@vivian-xu
Copy link
Collaborator Author

需要! 文档 会 提 另一个 pr 的

Copy link
Contributor

@cinderyx cinderyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZhuJingSi
Copy link

和老的 dao-style 对比少了一个图标?

@ZhuJingSi
Copy link

svg-sprite-loader 升级没问题?DCE-UI 里的不能升级,不然有些图标就解析不了,不知什么原因 @vivian-xu @jamiefang

@cinderyx
Copy link
Contributor

@ZhuJingSi 我之前在 DCE-UI 里试过,目前是没问题

@cinderyx
Copy link
Contributor

cinderyx commented Jun 28, 2017

@vivian-xu 好像少了 color-icon_websphere 等几个图标,可以和以前 demo 站上的图标做对比

@ZhuJingSi
Copy link

@cinderyx 不是所有图标都解析不了,是一部分

@vivian-xu
Copy link
Collaborator Author

好 我看下

@jamiefang
Copy link
Contributor

jamiefang commented Jun 28, 2017 via email

@vivian-xu
Copy link
Collaborator Author

update

@allencloud
Copy link

@ZhuJingSi Vivian的更新是否可以满足你的要求,如果可以的话,请尽快的推进这个PR的发展。

@@ -1,4 +1,4 @@
// import all svg
const requireAll = requireContext => requireContext.keys().map(requireContext);
const requireAll = requireContext => requireContext.keys().forEach(requireContext);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么用 foreach 不用 map?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我不需要它返回一个新的数组给我啊。。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link

@ZhuJingSi ZhuJingSi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZhuJingSi ZhuJingSi merged commit b7d4d59 into develop Jun 30, 2017
@ZhuJingSi ZhuJingSi deleted the feature/svg branch June 30, 2017 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants