ref |> 处理一处误处理直播弹wifi提示
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -108,6 +108,8 @@ export struct TopPlayComponent { | @@ -108,6 +108,8 @@ export struct TopPlayComponent { | ||
| 108 | this.resizeWindow() | 108 | this.resizeWindow() |
| 109 | 109 | ||
| 110 | if (this.liveDetailPageLogic.livingNeedShowNoWifiTip()) { | 110 | if (this.liveDetailPageLogic.livingNeedShowNoWifiTip()) { |
| 111 | + onlyWifiLoadVideo().then((onlyWifiLoadVideo) => { | ||
| 112 | + if (!onlyWifiLoadVideo) { | ||
| 111 | this.livingDialogToast = new CustomDialogController({ | 113 | this.livingDialogToast = new CustomDialogController({ |
| 112 | builder: CustomToast({ | 114 | builder: CustomToast({ |
| 113 | bgColor: 0xB3000000, | 115 | bgColor: 0xB3000000, |
| @@ -123,6 +125,8 @@ export struct TopPlayComponent { | @@ -123,6 +125,8 @@ export struct TopPlayComponent { | ||
| 123 | maskColor: "#00000000" | 125 | maskColor: "#00000000" |
| 124 | }) | 126 | }) |
| 125 | this.livingDialogToast.open() | 127 | this.livingDialogToast.open() |
| 128 | + } | ||
| 129 | + }) | ||
| 126 | } else if (this.liveDetailPageLogic.noLivingNeedShowNoWifiTip()) { | 130 | } else if (this.liveDetailPageLogic.noLivingNeedShowNoWifiTip()) { |
| 127 | onlyWifiLoadVideo().then((onlyWifiLoadVideo) => { | 131 | onlyWifiLoadVideo().then((onlyWifiLoadVideo) => { |
| 128 | if (!onlyWifiLoadVideo) { | 132 | if (!onlyWifiLoadVideo) { |
-
Please register or login to post a comment