Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -311,7 +311,8 @@ export function useVideoPlayer(props, emit, videoRef, nativeVideoRef) { | ... | @@ -311,7 +311,8 @@ export function useVideoPlayer(props, emit, videoRef, nativeVideoRef) { |
| 311 | const isOnWifi = computed(() => networkKind.value === 'wifi'); | 311 | const isOnWifi = computed(() => networkKind.value === 'wifi'); |
| 312 | const isOnCellular = computed(() => networkKind.value === 'cellular'); | 312 | const isOnCellular = computed(() => networkKind.value === 'cellular'); |
| 313 | 313 | ||
| 314 | - const trafficWarnThresholdBytes = 200 * 1024 * 1024; | 314 | + // 8. 流量警告逻辑 |
| 315 | + const trafficWarnThresholdBytes = 1000 * 1024 * 1024; | ||
| 315 | 316 | ||
| 316 | const needTrafficWarn = computed(() => { | 317 | const needTrafficWarn = computed(() => { |
| 317 | if (isOnWifi.value) return false; | 318 | if (isOnWifi.value) return false; | ... | ... |
-
Please register or login to post a comment