|
@@ -636,7 +636,7 @@ export default {
|
|
|
});
|
|
|
this.randomColor.set(
|
|
|
`${item2.title}_${item2.id}`,
|
|
|
- publicFun.getRandomColor()
|
|
|
+ publicFun.getRGBColor()
|
|
|
);
|
|
|
return {
|
|
|
id: `${item2.title}_${item2.id}`,
|
|
@@ -647,7 +647,7 @@ export default {
|
|
|
sourceId: item1.id,
|
|
|
sourceType: item1.title,
|
|
|
mainType: "所有图层",
|
|
|
- color: publicFun.getRandomColor(),
|
|
|
+ color: publicFun.getRGBColor(),
|
|
|
children: [],
|
|
|
};
|
|
|
}),
|