mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Fix new site info not fresh bug.
This commit is contained in:
parent
ba5e33a064
commit
8c01dcff18
@ -204,6 +204,7 @@ function siteeditorRender( url, site, type, info ) {
|
||||
// set remote site( include info )
|
||||
storage.remote = JSON.parse(JSON.stringify( cur_site ));
|
||||
info && ( storage.remote.info = info );
|
||||
changeSiteinfo( storage.remote.info );
|
||||
|
||||
const doms = <Editor site={ cur_site } state={ state } />;
|
||||
ReactDOM.render( doms, $( ".custom .preview" )[0] );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user