diff --git a/src/packages/components/Decorates/Three/ThreeEarth01/index.vue b/src/packages/components/Decorates/Three/ThreeEarth01/index.vue index 5fd62d6a..d25d4e6e 100644 --- a/src/packages/components/Decorates/Three/ThreeEarth01/index.vue +++ b/src/packages/components/Decorates/Three/ThreeEarth01/index.vue @@ -66,7 +66,7 @@ watch( // DOM 渲染之后进行初始化 onMounted(() => { try { - if (navigator.userAgent.indexOf('Chrome') < -1 || navigator.userAgent.indexOf('Edg') > -1) { + if (navigator.userAgent.indexOf('Chrome') < -1 || navigator.userAgent.indexOf('Edg') < -1) { window['$message'].error('三维地图组件仅在【谷歌】浏览器上能正常展示!') chartEditStore.removeComponentList(undefined, false) return