add comment cache clear

This commit is contained in:
xmcp
2020-01-10 21:28:04 +08:00
parent c22116c27c
commit f9ccbc46ae
2 changed files with 11 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ import {ConfigUI} from './Config';
import './Title.css';
import {BalanceShower} from './BalanceShower';
import {cache} from './cache';
const flag_re=/^\/\/setflag ([a-zA-Z0-9_]+)=(.*)$/;
@@ -36,6 +37,7 @@ const HELP_TEXT=(
}
});
}
cache().clear();
setTimeout(()=>{
window.location.reload(true);
},200);