您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
19 行
445 B
19 行
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">`;
|
|
}
|
|
}
|