Commit 547fbd34 by 万亚飞

title

parent 8fcc317c
...@@ -72,8 +72,7 @@ class JobList extends Component { ...@@ -72,8 +72,7 @@ class JobList extends Component {
}; };
} }
componentWillMount() { componentWillMount() {
app().setTitle('执业背景'); document.title = '执业背景';
// document.title = '执业背景';
this.setState({ this.setState({
tabIndex: parseInt(getParameterByName('index', location.href)) || 0 tabIndex: parseInt(getParameterByName('index', location.href)) || 0
}); });
......
...@@ -269,19 +269,6 @@ export default function() { ...@@ -269,19 +269,6 @@ export default function() {
params.url = 'ydl_app'; params.url = 'ydl_app';
sendDataToExp(params); sendDataToExp(params);
}; };
native.setTitle = function(title) {
document.title = title;
let params = {
url: 'ydl_app',
cmd: {
action_name: 'set_title',
params: {
title: title
}
}
};
sendDataToExp(params);
};
native.goPage = function(url) { native.goPage = function(url) {
setTimeout(function() { setTimeout(function() {
var params = { var params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment