(all): update

This commit is contained in:
就眠儀式 2022-05-29 23:53:23 +08:00
parent db21a23bda
commit 810b52d2ac
2 changed files with 10 additions and 4 deletions

View File

@ -11,14 +11,14 @@ import EyeDropper from "./EyeDropper.vue";
import { ref, computed, watch, onMounted } from "vue";
import { useEyeDropper } from "@vueuse/core";
const emit = defineEmits(["update:modelValue"]);
export interface LayColorPicker {
modelValue?: any;
preset?: any;
eyeDropper?: boolean;
}
const emit = defineEmits(["update:modelValue"]);
const props = withDefaults(defineProps<LayColorPicker>(), {
modelValue: { r: 255, g: 255, b: 255, a: 1 },
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],

View File

@ -31,7 +31,13 @@ export interface LaySelectProps {
modelValue?: any;
multiple?: 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>();
@ -226,7 +232,7 @@ provide("keyword", txt);
></i>
</lay-badge>
</template>
<input>
<input />
</div>
</div>
</div>