itizawa 5 năm trước cách đây
mục cha
commit
72fb5f4106
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/client/js/components/Page/CopyDropdown.jsx

+ 1 - 0
src/client/js/components/Page/CopyDropdown.jsx

@@ -75,6 +75,7 @@ class CopyDropdown extends React.Component {
   }
 
   generatePermalink() {
+    const { origin } = window.location;
     const { pageId, isShareLinkMode } = this.props;
 
     if (pageId == null) {