Procházet zdrojové kódy

fix(webhook): control webhook display

lind před 3 roky
rodič
revize
e7023b1870

+ 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: '请求体',