소스 검색

新增支持`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'},