mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +08:00
bugfix #54
This commit is contained in:
parent
aaed555581
commit
361e9a8b03
@ -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-picker对部分小写16进制颜色处理有异常,统一转为大写
|
||||
state.innerColor = fixColor.toLocaleUpperCase()
|
||||
}
|
||||
})
|
||||
const dropColor = async (e: any) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user