improvement

stop audio auto-parsing
fuck wechat
This commit is contained in:
xmcp
2018-10-18 07:44:48 +08:00
parent cb592da59b
commit cf1effc31b
2 changed files with 10 additions and 8 deletions

View File

@@ -58,7 +58,8 @@ class ControlBar extends PureComponent {
componentDidMount() {
if(window.location.hash) {
const text=window.location.hash.substr(1);
let text=window.location.hash.substr(1);
text=text.substr(0,text.lastIndexOf('?')); // fuck wechat '#param?nsukey=...'
this.setState({
search_text: text,
}, ()=>{