Commit 8fcc317c by 万亚飞

title

parent 40645d23
......@@ -72,7 +72,8 @@ class JobList extends Component {
};
}
componentWillMount() {
document.title = '执业背景';
app().setTitle('执业背景');
// document.title = '执业背景';
this.setState({
tabIndex: parseInt(getParameterByName('index', location.href)) || 0
});
......
......@@ -269,6 +269,19 @@ export default function() {
params.url = 'ydl_app';
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) {
setTimeout(function() {
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