設置map_container 的height 爲100% 不起作用,就不顯示了
.map_container{
height: 100%;
width: 100%;
}
解決方法:添加一個page 樣式 height 爲 100%
page{
height: 100%;
}
.map_container{
height: 100%;
width: 100%;
}
可以了 試試吧!
設置map_container 的height 爲100% 不起作用,就不顯示了
.map_container{
height: 100%;
width: 100%;
}
解決方法:添加一個page 樣式 height 爲 100%
page{
height: 100%;
}
.map_container{
height: 100%;
width: 100%;
}
可以了 試試吧!
Component({ behaviors: [], // 屬性定義(詳情參見下文) properties: { myProperty: { // 屬性名 type: String,