فهرست منبع

fix(webhook): control webhook display

lind 4 سال پیش
والد
کامیت
e7023b1870
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      src/pages/notice/Config/Detail/index.tsx
  2. 1 0
      src/pages/notice/Template/Detail/index.tsx

+ 1 - 0
src/pages/notice/Config/Detail/index.tsx

@@ -459,6 +459,7 @@ const Detail = observer(() => {
             },
           },
           webhook: {
+            'x-visible': id === 'webhook',
             type: 'void',
             properties: {
               url: {

+ 1 - 0
src/pages/notice/Template/Detail/index.tsx

@@ -1152,6 +1152,7 @@ const Detail = observer(() => {
           },
           webhook: {
             type: 'void',
+            'x-visible': id === 'webhook',
             properties: {
               contextAsBody: {
                 title: '请求体',