浏览代码

新增支持`HEAD`、`PATCH`请求

mxd 3 年之前
父节点
当前提交
12731b3589
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      magic-editor/src/console/src/components/layout/magic-request.vue

+ 3 - 1
magic-editor/src/console/src/components/layout/magic-request.vue

@@ -210,7 +210,9 @@
           {value: 'GET', text: 'GET'},
           {value: 'POST', text: 'POST'},
           {value: 'PUT', text: 'PUT'},
-          {value: 'DELETE', text: 'DELETE'}
+          {value: 'DELETE', text: 'DELETE'},
+          {value: 'HEAD', text: 'HEAD'},
+          {value: 'PATCH', text: 'PATCH'}
         ],
         headerTypes: [
           {value: 'String', text: 'String'},