瀏覽代碼

set init param

yusuketk 6 年之前
父節點
當前提交
b6bfe460e6
共有 1 個文件被更改,包括 4 次插入0 次删除
  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: '',
     });
   }