zizi b8d1a0da73 fix(runtime-host): host→game 回包全断根因修复——v-for 模板 ref 数组解包
根因(探针四锚点+判别实验实证):ref=iframeRef 位于 v-for 内,Vue 3 填充为数组;
attachBridge 按元素直取 (数组).contentWindow=undefined → HostBridge.targetWindow=
undefined → post() 静默丢弃全部 host→game(storage/ad/pay 回包+init 同断)。
game→host 监听全局 window 不受影响,故游戏可玩/遥测可达,两波未现形。
修法:currentIframe() 解包 + contentWindow 不可用时显式 console.warn(可观测)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 02:45:31 +00:00
..

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.