大屏 底图修改

qianlishi 3 years ago
parent f69ef3d33d
commit 5fbe3f6000

@ -357,13 +357,9 @@ export default {
}
},
mounted() {
//
this.setOptionsOnClickScreen();
//
this.initEchartData();
this.widgets = [];
window.addEventListener("mouseup", () => {
this.grade = false;
});
@ -394,7 +390,7 @@ export default {
this.dashboard = screenData;
},
handleBigScreen(data) {
const optionScreen = this.deepClone(getToolByCode("screen").options);
const optionScreen = getToolByCode("screen").options;
const setup = optionScreen.setup;
for (const key in data) {
for (let i = 0; i < setup.length; i++) {
@ -403,6 +399,7 @@ export default {
}
}
}
this.setOptionsOnClickScreen();
return {
backgroundColor: (data && data.backgroundColor) || "",
backgroundImage: (data && data.backgroundImage) || "",

Loading…
Cancel
Save