diff --git a/components/badge/Badge.vue b/components/badge/Badge.vue index 7f8fe8121..dcc657788 100644 --- a/components/badge/Badge.vue +++ b/components/badge/Badge.vue @@ -1,128 +1,114 @@ - diff --git a/components/badge/ScrollNumber.vue b/components/badge/ScrollNumber.vue index b81832e98..4375ee5fe 100644 --- a/components/badge/ScrollNumber.vue +++ b/components/badge/ScrollNumber.vue @@ -1,5 +1,8 @@ diff --git a/components/badge/badgeTypes.js b/components/badge/badgeTypes.js deleted file mode 100644 index 2621a4ce0..000000000 --- a/components/badge/badgeTypes.js +++ /dev/null @@ -1,10 +0,0 @@ -import PropTypes from '../_util/vue-types' -export default () => ({ - count: PropTypes.number, - dot: PropTypes.bool, - offset: PropTypes.arrayOf([PropTypes.number, PropTypes.number]), - overflowCount: PropTypes.number.def('99'), - showZero: PropTypes.bool.def('false'), - status: PropTypes.oneOf(['success', 'processing', 'default', 'error', 'warning']), - text: PropTypes.string, -}) diff --git a/components/badge/demo/basic.md b/components/badge/demo/basic.md index 30b568973..f14ddd221 100644 --- a/components/badge/demo/basic.md +++ b/components/badge/demo/basic.md @@ -11,10 +11,10 @@ Simplest Usage. Badge will be hidden when `count` is `0`, but we can use `showZe ```html ``` diff --git a/components/checkbox/demo/controller.vue b/components/checkbox/demo/controller.vue deleted file mode 100644 index 72e38acf2..000000000 --- a/components/checkbox/demo/controller.vue +++ /dev/null @@ -1,62 +0,0 @@ - - diff --git a/components/checkbox/demo/disabled.md b/components/checkbox/demo/disabled.md index 229f4b0be..e20f8b52a 100644 --- a/components/checkbox/demo/disabled.md +++ b/components/checkbox/demo/disabled.md @@ -16,12 +16,4 @@ Disabled checkbox - ``` diff --git a/components/checkbox/demo/disabled.vue b/components/checkbox/demo/disabled.vue deleted file mode 100644 index fac1e9399..000000000 --- a/components/checkbox/demo/disabled.vue +++ /dev/null @@ -1,15 +0,0 @@ - - diff --git a/components/checkbox/demo/group.md b/components/checkbox/demo/group.md index dd2032089..eb6c696af 100644 --- a/components/checkbox/demo/group.md +++ b/components/checkbox/demo/group.md @@ -21,7 +21,6 @@ Generate a group of checkboxes from an array ``` diff --git a/components/checkbox/demo/group.vue b/components/checkbox/demo/group.vue deleted file mode 100644 index b7cfcc6a3..000000000 --- a/components/checkbox/demo/group.vue +++ /dev/null @@ -1,44 +0,0 @@ - - diff --git a/components/checkbox/demo/index.vue b/components/checkbox/demo/index.vue index a27b2f0a7..80fb85fbd 100644 --- a/components/checkbox/demo/index.vue +++ b/components/checkbox/demo/index.vue @@ -1,13 +1,12 @@ diff --git a/components/checkbox/demo/layout.md b/components/checkbox/demo/layout.md index 26ed449fa..7068674fb 100644 --- a/components/checkbox/demo/layout.md +++ b/components/checkbox/demo/layout.md @@ -11,29 +11,22 @@ We can use Checkbox and Grid Checkbox.group, to implement complex layout ```html ``` diff --git a/components/checkbox/demo/layout.vue b/components/checkbox/demo/layout.vue deleted file mode 100644 index ebc74eef0..000000000 --- a/components/checkbox/demo/layout.vue +++ /dev/null @@ -1,27 +0,0 @@ - -