Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.device id会变,2.调试界面不能点击 #288

Open
4 tasks done
kankanai opened this issue Nov 30, 2024 · 1 comment
Open
4 tasks done

1.device id会变,2.调试界面不能点击 #288

kankanai opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kankanai
Copy link

Description

1.device id 每次新打开页面访问就会变,但是正常情况下一个浏览器就一个。(可以使用localStorage存储的方式实现)
2.预览的界面希望可以加上点击功能,这样就齐全了,能看还能点。
我猜想可以根据点击的元素找到具体的selector, 或者是xpath什么的,然后映射到客户端实现点击。
不知道是否可行,也许有更好的方式哈,总之能支持就更好了,是一个跨越的一大步!

Suggested solution

都写到description里了

Alternative

No response

Additional context

No response

Validations

@kankanai kankanai added the enhancement New feature or request label Nov 30, 2024
@wqcstrong
Copy link
Collaborator

  1. 设计如此。deviceId 本质是服务端维护的 “房间号”,每个房间里可以有 N 个调试端和 1 个客户端。不放在 localStorage 是因为客户端多个页面连接到一个房间,会导致房间里有多个客户端,进而调试端收到的消息错乱;
  2. 预览界面仅支持「看」;

欢迎提出更多想法 ❤️~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants