Skip to content

Commit

Permalink
更新,聚焦样式和版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
zuley committed Jun 2, 2020
1 parent bc424b2 commit a44adae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vcolorpicker",
"version": "0.1.6",
"version": "1.0.1",
"description": "基于 Vue 的颜色选择器",
"main": "lib/vcolorpicker.umd.min.js",
"keyword": "vcolorpicker colorpicker color-picker",
Expand Down
7 changes: 1 addition & 6 deletions packages/color-picker/src/color-picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,19 +193,14 @@ export default {
}
return gradientColorArr
}
},
mounted () {
// 点击页面上其他地方,关闭弹窗
// document.onclick = () => {
// this.openStatus = false
// }
}
}
</script>

<style lang="scss" scoped>
.m-colorPicker{
position: relative; text-align: left; font-size: 14px; display: inline-block;
outline: none;
ul,li,ol{ list-style: none; margin: 0; padding: 0; }
input{ display: none; }
.colorBtn{ width: 15px; height: 15px; }
Expand Down

0 comments on commit a44adae

Please sign in to comment.