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

全局变量无法修改删除 #1227

Open
Jingle-Pan opened this issue Dec 18, 2024 · 3 comments
Open

全局变量无法修改删除 #1227

Jingle-Pan opened this issue Dec 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Jingle-Pan
Copy link

自定义的全局环境变量,在脚本中使用后,无法修改值,且删除后,仍有之前的值在里面,重启和电脑重启都不能改变和消除

@Jingle-Pan Jingle-Pan added the bug Something isn't working label Dec 18, 2024
@Jingle-Pan
Copy link
Author

查到了为什么会删除还在里面,结果:全局环境变量跑到自定义环境里,比较奇怪

@MegatronKing
Copy link
Member

查到了为什么会删除还在里面,结果:全局环境变量跑到自定义环境里,比较奇怪

要看你当前激活的环境, 你检查下。

@DemoJameson
Copy link

DemoJameson commented Dec 24, 2024

@MegatronKing 应该是存在问题的,我之前也注意到有全局变量会复制到激活环境里。
刚测试了一下,只要API测试启用脚本发送了请求,全局变量就会被复制到激活环境里。
与脚本内容无关,重置脚本依然会触发。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants