✨(all): update
This commit is contained in:
parent
db21a23bda
commit
810b52d2ac
@ -11,14 +11,14 @@ import EyeDropper from "./EyeDropper.vue";
|
|||||||
import { ref, computed, watch, onMounted } from "vue";
|
import { ref, computed, watch, onMounted } from "vue";
|
||||||
import { useEyeDropper } from "@vueuse/core";
|
import { useEyeDropper } from "@vueuse/core";
|
||||||
|
|
||||||
const emit = defineEmits(["update:modelValue"]);
|
|
||||||
|
|
||||||
export interface LayColorPicker {
|
export interface LayColorPicker {
|
||||||
modelValue?: any;
|
modelValue?: any;
|
||||||
preset?: any;
|
preset?: any;
|
||||||
eyeDropper?: boolean;
|
eyeDropper?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const emit = defineEmits(["update:modelValue"]);
|
||||||
|
|
||||||
const props = withDefaults(defineProps<LayColorPicker>(), {
|
const props = withDefaults(defineProps<LayColorPicker>(), {
|
||||||
modelValue: { r: 255, g: 255, b: 255, a: 1 },
|
modelValue: { r: 255, g: 255, b: 255, a: 1 },
|
||||||
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
|
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
|
||||||
|
@ -31,7 +31,13 @@ export interface LaySelectProps {
|
|||||||
modelValue?: any;
|
modelValue?: any;
|
||||||
multiple?: boolean;
|
multiple?: boolean;
|
||||||
create?: boolean;
|
create?: boolean;
|
||||||
items?: { label: string; value: any; key: string, disabled: boolean; keyword: string }[];
|
items?: {
|
||||||
|
label: string;
|
||||||
|
value: any;
|
||||||
|
key: string;
|
||||||
|
disabled: boolean;
|
||||||
|
keyword: string;
|
||||||
|
}[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const selectRef = ref<null | HTMLElement>();
|
const selectRef = ref<null | HTMLElement>();
|
||||||
@ -226,7 +232,7 @@ provide("keyword", txt);
|
|||||||
></i>
|
></i>
|
||||||
</lay-badge>
|
</lay-badge>
|
||||||
</template>
|
</template>
|
||||||
<input>
|
<input />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user