fix(接口测试): 修复未输入地址,但快捷键可以触发的缺陷

--bug=1037067 --user=王孝刚 【接口测试】接口调试-新建请求-未输入地址-保存置灰不可点击-但是快捷键可以保存
https://www.tapd.cn/55049933/s/1475098
This commit is contained in:
wxg0103 2024-03-14 19:51:20 +08:00 committed by 刘瑞斌
parent cd80feb2c1
commit c6e70c0dc9
1 changed files with 3 additions and 0 deletions

View File

@ -1295,6 +1295,9 @@
* 保存快捷键处理
*/
async function handleSaveShortcut() {
if (isHttpProtocol && !requestVModel.value.url) {
return;
}
try {
if (!isHttpProtocol.value) {
//