You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
445 B
19 lines
445 B
/**
|
|
* Created by Jacky.Gao on 2017-01-25.
|
|
*/
|
|
import Tool from './Tool.js';
|
|
|
|
export default class OpenTool extends Tool{
|
|
constructor(context){
|
|
super(context);
|
|
}
|
|
execute(){
|
|
window.parent.postMessage({'goback': -1},'*')
|
|
}
|
|
getTitle(){
|
|
return `返回`;
|
|
}
|
|
getIcon(){
|
|
return `<img src='${window._contextPath}/ureport/res/ureport-asserts/icons/back.svg' width="22px" height="22px">`;
|
|
}
|
|
}
|