This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-03-21 10:30:40 +08:00
parent c992fa0200
commit fe7b34615a
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ store.$subscribe((mutation, state) => {
) {
state.data1.EquipmentsArrayList.map((item) => {
const { equipmentName, status: itemStatus } = item;
status.value[eqMap[equipmentName]] = 1; // TODO 1; statusMap[itemStatus];
status.value[eqMap[equipmentName]] = statusMap[itemStatus];
});
}
});

View File

@ -88,7 +88,7 @@ export default class Glass {
this.el.style.width = size ? `${size}px` : "16px";
this.el.style.height = size ? `${size}px` : "16px";
this.el.style.transformOrigin = "center";
this.el.style.transition = `all ${distance / 25}s linear`;
this.el.style.transition = `all ${distance / 10}s linear`;
this.el.style.zIndex = "100";
this.el.style.pointerEvents = "none";
// this.el.style.transform = `rotate(${angle}deg) skew(32deg, 8deg)`;