提交 18b44c8d 编写于 作者: Q qiang

fix: operateMap pageId

上级 9c37507a
此差异已折叠。
此差异已折叠。
import { ComponentPublicInstance } from 'vue'
import { getPageIdByVm } from '@dcloudio/uni-core'
export function operateMap(
id: string,
......@@ -6,7 +7,7 @@ export function operateMap(
type: string,
data?: unknown
) {
const pageId = vm.$root!.$page.id
const pageId = getPageIdByVm(vm)!
UniServiceJSBridge.publishHandler(
'map.' + id,
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册