update src/packages/components/Decorates/Three/ThreeEarth01/index.vue.

Edge浏览器不行 Edg应该也是<-1

Signed-off-by: CarnivalO <xmwjn@qq.com>
This commit is contained in:
CarnivalO 2023-01-12 05:54:12 +00:00 committed by Gitee
parent fb93d35c91
commit fa2530634d

View File

@ -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