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

Skeleton 骨架屏代码提交 #96

Merged
merged 13 commits into from
Mar 7, 2022
Merged

Skeleton 骨架屏代码提交 #96

merged 13 commits into from
Mar 7, 2022

Conversation

junjun666
Copy link
Contributor

已自测
文档已开发

)
}
export default App;
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里需要加 ::: 来结束 demo 块,每个 demo 块都是如此,目前 React 库采用的包和 Vue 的有区别,Vue 的对未结束的识别不出来

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修复~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

其他组件已检查修复~

></div>
) : (
<div className="content-line">
{title && <div className="title"></div>}
Copy link
Collaborator

Choose a reason for hiding this comment

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

className="title" 存在全局样式污染的可能,遵守 BEM 规范

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改

for (let i = 0; i < num; i++) {
items.push(i)
}
return items
Copy link
Collaborator

Choose a reason for hiding this comment

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

66-70,可修改为
return Array.from({ length: num-1 }, (v, i) => i)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it~已采纳

@oasis-cloud oasis-cloud merged commit 500903f into jdf2e:main Mar 7, 2022
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

Successfully merging this pull request may close these issues.

3 participants