This commit is contained in:
ychy00001 2024-03-01 10:17:18 +08:00
parent aaed555581
commit 361e9a8b03

View File

@ -57,7 +57,9 @@ export default defineComponent({
onMounted(() => {
if (props.modelValue) {
state.innerColor = props.modelValue + (props.modelValue.length === 7 ? 'ff' : '')
let fixColor = props.modelValue + (props.modelValue.length === 7 ? 'ff' : '')
// @palxp/color-picker16
state.innerColor = fixColor.toLocaleUpperCase()
}
})
const dropColor = async (e: any) => {