fix:修改色彩
This commit is contained in:
@ -119,27 +119,22 @@ store.$onAction(
|
|||||||
|
|
||||||
// 初始化scheme
|
// 初始化scheme
|
||||||
const initScheme = async () => {
|
const initScheme = async () => {
|
||||||
try {
|
// try {
|
||||||
const response = await axios.get('http://localhost:3000/load');
|
// const response = await axios.get('http://localhost:3000/load');
|
||||||
if (response.data && Array.isArray(response.data)) {
|
// if (response.data && Array.isArray(response.data)) {
|
||||||
store.initPreviewScheme(response.data);
|
// store.initPreviewScheme(response.data);
|
||||||
} else {
|
// } else {
|
||||||
store.initPreviewScheme([baseScheme]);
|
// store.initPreviewScheme([baseScheme]);
|
||||||
}
|
// }
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
console.error('Error loading data:', error);
|
// console.error('Error loading data:', error);
|
||||||
store.initPreviewScheme([baseScheme]);
|
// store.initPreviewScheme([baseScheme]);
|
||||||
}
|
// }
|
||||||
componentsList = Object.values(componentScheme);
|
componentsList = Object.values(componentScheme);
|
||||||
store.initComponents(componentsList);
|
store.initComponents(componentsList);
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
list0.value.push(
|
|
||||||
{ "id": 123, "name": "www" },
|
|
||||||
{ "id": 125, "name": "rrr" }
|
|
||||||
);
|
|
||||||
list.value = [];
|
|
||||||
initScheme();
|
initScheme();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -270,7 +265,7 @@ const view = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ghost {
|
.ghost {
|
||||||
background-color: #f00 !important;
|
background-color: #f2f3f5 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
[
|
{
|
||||||
{
|
|
||||||
"type": "AdaptivePage",
|
"type": "AdaptivePage",
|
||||||
"name": "AdaptivePage",
|
"name": "AdaptivePage",
|
||||||
"id": "a31c7fb13910000",
|
"id": "a31c7fb13910000",
|
||||||
@ -17,5 +16,4 @@
|
|||||||
"footer": {},
|
"footer": {},
|
||||||
"children": [],
|
"children": [],
|
||||||
"meta": {}
|
"meta": {}
|
||||||
}
|
}
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user