fixed #4718
This commit is contained in:
parent
0f0e311eb2
commit
ae02246a2e
4 changed files with 8 additions and 13 deletions
|
@ -1,9 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="margin: 100px;">
|
<ColorPicker v-model="color1" transfer />
|
||||||
{{ color1 }}
|
|
||||||
<ColorPicker v-model="color1" />
|
|
||||||
<ColorPicker v-model="color2" :editable="false"/>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
@ -11,7 +7,7 @@
|
||||||
return {
|
return {
|
||||||
color1: '#19be6b',
|
color1: '#19be6b',
|
||||||
color2: ''
|
color2: ''
|
||||||
};
|
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iview",
|
"name": "iview",
|
||||||
"version": "3.1.2",
|
"version": "3.1.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -13082,9 +13082,9 @@
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"v-click-outside-x": {
|
"v-click-outside-x": {
|
||||||
"version": "3.0.0",
|
"version": "3.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-3.5.0.tgz",
|
||||||
"integrity": "sha512-VKm35tQ1tlZFXZc527v05sRXbyoQ8KKT1aeefZrcRCW+mPU4KuTiPy4pe1AH8Pibjzx80iU3pNJ4gNUFSXekUQ=="
|
"integrity": "sha512-JkF3uurCszLjuCTqyQEaWRTJleZf+3jrW8kTN5k4I3Rz/IwYgrCWCAugDBs3K71TX13tiSDBtJbnVmlnogc15A=="
|
||||||
},
|
},
|
||||||
"v8flags": {
|
"v8flags": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"popper.js": "^1.14.1",
|
"popper.js": "^1.14.1",
|
||||||
"tinycolor2": "^1.4.1",
|
"tinycolor2": "^1.4.1",
|
||||||
"v-click-outside-x": "^3.0.0"
|
"v-click-outside-x": "^3.5.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^2.5.2"
|
"vue": "^2.5.2"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
v-click-outside.capture="handleClose"
|
v-click-outside.capture="handleClose"
|
||||||
v-click-outside:mousedown.capture="handleClose"
|
|
||||||
:class="classes">
|
:class="classes">
|
||||||
<div
|
<div
|
||||||
ref="reference"
|
ref="reference"
|
||||||
|
|
Loading…
Add table
Reference in a new issue