Commit d52f4d9f48383298d1ea17c6707924fa4b636c09
1 parent
c445ce72
feat(packages/external): 重写部分柱状图和部分折线图,新增开启关闭动画效果和全屏效果
Showing
1 changed file
with
0 additions
and
9 deletions
| @@ -7,15 +7,6 @@ export const isFullScreen = (domName: any, htmlName: any) => { | @@ -7,15 +7,6 @@ export const isFullScreen = (domName: any, htmlName: any) => { | ||
| 7 | if (document.exitFullscreen) { | 7 | if (document.exitFullscreen) { |
| 8 | document.exitFullscreen() | 8 | document.exitFullscreen() |
| 9 | domName.style.background = '' | 9 | domName.style.background = '' |
| 10 | - } else if (document.msExitFullscreen) { | ||
| 11 | - document.msExitFullscreen() | ||
| 12 | - domName.style.background = '' | ||
| 13 | - } else if (document.mozCancelFullScreen) { | ||
| 14 | - document.mozCancelFullScreen() | ||
| 15 | - domName.style.background = '' | ||
| 16 | - } else if (document.webkitCancelFullScreen) { | ||
| 17 | - document.webkitCancelFullScreen() | ||
| 18 | - domName.style.background = '' | ||
| 19 | } | 10 | } |
| 20 | } else { | 11 | } else { |
| 21 | console.log('进入全屏') | 12 | console.log('进入全屏') |