修复部分bug部分页面的调整
This commit is contained in:
@@ -81,7 +81,7 @@ export default defineComponent({
|
||||
tcxToColor:'',
|
||||
})
|
||||
watch(()=>colorData.selectColor,async (newVal,oldVal)=>{
|
||||
if(!newVal?.name && newVal.rgba && newVal.rgba?.r){
|
||||
if(newVal.rgba && newVal.rgba?.r){
|
||||
let data:any = await getColorName(newVal.rgba)
|
||||
newVal.name = data.name
|
||||
newVal.tcx = data.tcx
|
||||
|
||||
Reference in New Issue
Block a user