@@ -552,7 +552,9 @@ wepy.component({
ready() {
// 获取地图数据
console.log('地图模块触发了--');
- this.init();
+ if (this.space) {
+ this.init();
+ }
},
// 页面激活
attached() {},