import { useCtx, useStore } from '@ray-js/ipc-player-integration';
export function Component() {
const deviceId = '1234567890xxxxxx';
const instance = useCtx({
devId: deviceId
})
// 使用 useStore 读取 screenType
const { screenType } = useStore({ screenType: instance.screenType });
}