Skip to content

Commit

Permalink
解决卷帘显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
supermap123 committed Aug 24, 2023
1 parent 7ca311d commit cfe76d3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ watch(
val => {
switch (val) {
case "noRoller":
state.lrRoller = 1;
state.tbRoller = 4;
enableSlider(0);
cancelLayersRoller(false);
break;
Expand All @@ -363,13 +365,15 @@ watch(
watch(
() => state.lrRoller,
val => {
if(state.selectedType === 'noRoller') return;
rollerShutterConfig.mode = Number(val);
setRollerShutterSplit();
}
);
watch(
() => state.tbRoller,
val => {
if(state.selectedType === 'noRoller') return;
rollerShutterConfig.mode = Number(val);
setRollerShutterSplit();
}
Expand Down

0 comments on commit cfe76d3

Please sign in to comment.