@mixd-id/web-scaffold 0.1.230406096 → 0.1.230406097
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
<div class="grid grid-cols-2 gap-4">
|
|
18
|
-
<button type="button" @click="select('
|
|
18
|
+
<button type="button" @click="select('')"
|
|
19
19
|
class="w-full p-1 border-text-100 border-[1px] rounded-lg">None</button>
|
|
20
20
|
<button type="button" v-if="mode !== 'class' && Boolean(customColor)"
|
|
21
21
|
class="w-full p-1 border-text-100 border-[1px] rounded-lg"
|
|
@@ -70,9 +70,8 @@ export default{
|
|
|
70
70
|
methods: {
|
|
71
71
|
|
|
72
72
|
select(color){
|
|
73
|
-
console.log('select', this.mode, this.prefix, color)
|
|
74
73
|
if(this.mode === 'class'){
|
|
75
|
-
this.$emit('update:modelValue', this.prefix + color)
|
|
74
|
+
this.$emit('update:modelValue', color ? this.prefix + color : '')
|
|
76
75
|
}
|
|
77
76
|
else{
|
|
78
77
|
this.$emit('update:modelValue', color)
|