Browse Source

set init param

yusuketk 5 năm trước cách đây
mục cha
commit
b6bfe460e6
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/client/js/components/PageEditor/LinkEditModal.jsx

+ 4 - 0
src/client/js/components/PageEditor/LinkEditModal.jsx

@@ -75,6 +75,10 @@ class LinkEditModal extends React.PureComponent {
       labelInputValue: label,
       linkInputValue: link,
       linkerType: type,
+      isUseRelativePath: false,
+      isUsePermanentLink: false,
+      markdown: '',
+      permalink: '',
     });
   }