20261008
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// 初始化地图
|
||||
export default {
|
||||
init() {
|
||||
return new Promise((resolve, reject) => {
|
||||
// 如果已加载直接返回
|
||||
if (window.T) {
|
||||
console.log('地图脚本初始化成功...')
|
||||
resolve(window.T)
|
||||
reject('error')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user