You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
444 B
12 lines
444 B
import {
|
|
operateMapPlayer as operateVueMapPlayer
|
|
} from 'uni-platforms/h5/service/api/context/operate-map-player'
|
|
import {
|
|
operateMapPlayer as operateNVueMapPlayer
|
|
} from 'uni-platforms/app-plus-nvue/service/api/context/operate-map-player'
|
|
|
|
export function operateMapPlayer (mapId, pageVm, type, data) {
|
|
pageVm.$page.meta.isNVue
|
|
? operateNVueMapPlayer(mapId, pageVm, type, data)
|
|
: operateVueMapPlayer(mapId, pageVm, type, data)
|
|
}
|
|
|