提供一个曲线解决的方案 既然在二级页面可以监听到,可以使用全局事件总线(EventBus)或vuex来实现在不同页面之间传递数据。 在BLE连接成功后,触发onBLECharacteristicValueChange事件并传递数据: // 在BLECharacteristicValueChange回调函数中 this.$eventBus.$emit('valueChange', data); 在其他需要接收数据的页面中,监听valueChange事件: // 在其他页面的created或mounted生命周期中 this.$eventBus.$on('valueChange', (data) => { // 处理接收到的数据 });