no message

Former-commit-id: ef1e14bc5eee9905394c7a7880e371990a1c80d1
Former-commit-id: 5081c36e3e48fb02c74f26d42da59f51c9b64459
Former-commit-id: 7fdb4997c920fc58e335dd66ee23eb4fe0ae8fb1
This commit is contained in:
liyang
2018-06-04 13:50:47 +08:00
parent 614b7b5d37
commit 487f9d7374
3 changed files with 17 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ function sideBarGuide (title) {
children: [
'',
'q-a',
'pr',
'change-log'
]
}

13
docs/zh/guide/pr.md Normal file
View File

@@ -0,0 +1,13 @@
# 贡献指南
## 如何贡献代码
首先在[项目主页](https://github.com/FairyEver/d2admin-vue-element) fork 本仓库,然后进行你的开发,请确保你的开发是在 dev 分支进行。本地测试无误后方可 pull request我在检查通过后会合并代码到原始仓库。
## 要求
本项目代码需要符合[vue.js 风格指南](https://cn.vuejs.org/v2/style-guide/)中[优先级A](https://cn.vuejs.org/v2/style-guide/#%E4%BC%98%E5%85%88%E7%BA%A7-A-%E7%9A%84%E8%A7%84%E5%88%99%EF%BC%9A%E5%BF%85%E8%A6%81%E7%9A%84-%E8%A7%84%E9%81%BF%E9%94%99%E8%AF%AF)和[优先级B](https://cn.vuejs.org/v2/style-guide/#%E4%BC%98%E5%85%88%E7%BA%A7-B-%E7%9A%84%E8%A7%84%E5%88%99%EF%BC%9A%E5%BC%BA%E7%83%88%E6%8E%A8%E8%8D%90-%E5%A2%9E%E5%BC%BA%E5%8F%AF%E8%AF%BB%E6%80%A7)的要求以及本项目中的 ESlint 校验
::: tip
由于项目初始没有仔细遵循风格指南可能项目代码中已经存在不符合规范的代码欢迎批评指正或者直接pr
:::

View File

@@ -19,8 +19,9 @@ export default {
name: 'dd-menu',
props: {
menu: {
require: false,
default: () => []
type: Object,
required: false,
default: () => {}
}
}
}