diff --git a/src/components/gui/gui.jsx b/src/components/gui/gui.jsx index 7d0cdb5f921..98d1c22bef9 100644 --- a/src/components/gui/gui.jsx +++ b/src/components/gui/gui.jsx @@ -542,13 +542,13 @@ GUIComponent.defaultProps = { canChangeLanguage: true, canChangeTheme: true, canCreateNew: true, - canEditTitle: true, + canEditTitle: false, canManageFiles: true, canRemix: false, canSave: false, canCreateCopy: false, canShare: false, - canUseCloud: false, + canUseCloud: true, enableCommunity: false, isCreating: false, isShared: false, diff --git a/src/components/menu-bar/menu-bar.jsx b/src/components/menu-bar/menu-bar.jsx index ddedbd2a01c..1de50dc6282 100644 --- a/src/components/menu-bar/menu-bar.jsx +++ b/src/components/menu-bar/menu-bar.jsx @@ -973,14 +973,14 @@ class MenuBar extends React.Component { { waitForUpdate => ( - { this.handleClickSeeCommunity(waitForUpdate); }} - /* eslint-enable react/jsx-no-bind */ - /> + />*/ + [] ) } @@ -1019,10 +1019,10 @@ class MenuBar extends React.Component {
- ZeroCat - 登录 + + - 加载中 +
diff --git a/src/lib/tw-project-meta-fetcher-hoc.jsx b/src/lib/tw-project-meta-fetcher-hoc.jsx index 7f482de5b4a..4238cb9c0fe 100644 --- a/src/lib/tw-project-meta-fetcher-hoc.jsx +++ b/src/lib/tw-project-meta-fetcher-hoc.jsx @@ -8,7 +8,7 @@ import {setAuthor, setDescription} from '../reducers/tw'; export const fetchProjectMeta = async projectId => { const urls = [ - `${process.env.APIHOST}/scratch/projectinfo2?id=${projectId}?token=${localStorage.getItem('token')}`]; + `${process.env.APIHOST}/scratch/projectinfo2?id=${projectId}&token=${localStorage.getItem('token')}`]; let firstError; for (const url of urls) { try { diff --git a/src/playground/index.ejs b/src/playground/index.ejs index 45d4a9e1e44..0093fbab644 100644 --- a/src/playground/index.ejs +++ b/src/playground/index.ejs @@ -1,655 +1,697 @@ - - - - - - <%= htmlWebpackPlugin.options.title %> - - <% if (htmlWebpackPlugin.options.root==="/" || - htmlWebpackPlugin.options.root==="" ) { %> - - <% } %> - - - - - - - - - - + .splash-error-list { + white-space: pre-wrap; + } -