pages/phyz/stationManage/stationDetl.vue
@@ -139,7 +139,6 @@ const eventChannel = this.getOpenerEventChannel(); // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据 eventChannel.on('item', function(data) { console.log(data); _this.station = data.item _this.reloadStation() }) @@ -148,6 +147,7 @@ // 更新站点 reloadStation() { let _this = this console.log(_this.station.devNo); _this.reload.loading = true _this.reload.loadingText = '更新中...' uni.request({