mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(autocomplete): popper usage (#429)
* fix(autocomplete): dropdownWidth * fix: el-popper usage * test: change test file * fix: remove storybook doc dir * test: sleep time
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-color-picker v-model="color" :predefine="predefineColors" @active-change="actChange" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
color: '#20A0FF',
|
||||
predefineColors: [
|
||||
'#ff4500',
|
||||
'#ff8c00',
|
||||
'#ffd700',
|
||||
'#90ee90',
|
||||
'#00ced1',
|
||||
'#1e90ff',
|
||||
'#c71585',
|
||||
'rgba(255, 69, 0, 0.68)',
|
||||
'rgb(255, 120, 0)',
|
||||
'hsv(51, 100, 98)',
|
||||
'hsva(120, 40, 94, 0.5)',
|
||||
'hsl(181, 100%, 37%)',
|
||||
'hsla(209, 100%, 56%, 0.73)',
|
||||
],
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
actChange(colorString) {
|
||||
console.log(colorString)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -1,5 +0,0 @@
|
||||
export default {
|
||||
title: 'Color-picker',
|
||||
}
|
||||
|
||||
export { default as BasicUsage } from './basic.vue'
|
||||
Reference in New Issue
Block a user