Skip to content

【Bug】uniapp 内置组件 map地图,在鸿蒙系统版本5.0.0 中报错(急,急,急) #5536

Open
@liu-yuren

Description

@liu-yuren

发行方式

H5

具体平台

HarmonyOS 5.0.0

开发环境

Windows

项目创建方式

CLI命令行

依赖版本

uniapp cli 4.5.19

问题描述

uniapp 内置组件 map地图,在鸿蒙系统版本5.0.0 中报错

重现步骤

const state = reactive({
lng: 116.404,
lat: 39.915,
scale: 16
})

<map style="width: 100%;height: 100%;" id="myMap" longitude="state.lng" latitude="state.lat" scale="state.scale" @click="clickMap"
/>

期望行为

正常显示地图

实际行为

如图报错,无法显示地图

截图或录屏

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions