mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2783] 无法执行预请求脚本啊 总是报错 #898
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#898
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wwg2017 on GitHub (Oct 14, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2783
无法执行预请求脚本啊 总是报错

@liyasthomas commented on GitHub (Oct 14, 2022):
Please choose any of the provided issue templates to report bugs, feature requests etc with detailed description and steps to reproduce.
@wwg2017 commented on GitHub (Oct 14, 2022):
就https://hoppscotch.io/ 这个站点,,随便输入一个js脚本 console.log("str→"); 然后点击发送
@liyasthomas commented on GitHub (Oct 14, 2022):
Pre-request scripts doesn't support
console.log()at the moment. We're working towards an improved scripting sandbox API via Scripting revamp RFC. Kindly share your thoughts on that discussion.For more details on supported pre-request script API, refer documentation.
@wwg2017 commented on GitHub (Oct 14, 2022):
ok,多谢,还有一个问题就是,,如果文件夹下面的请求多了情况下,打开文件夹会很慢很卡
@wwg2017 commented on GitHub (Oct 14, 2022):
CryptoJS.MD5(str).toString(); 这个函数支持吗