fix:增加交互分析 help弹窗打开pdf功能
This commit is contained in:
parent
851603bb9f
commit
791271c747
|
@ -1109,6 +1109,22 @@ export default {
|
|||
|
||||
// 查看软件操作帮助文档
|
||||
handleHelp() {
|
||||
let docPath = null
|
||||
let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || "/jeecg-boot";
|
||||
if(this.isGamma) {
|
||||
docPath = `/armd-help/Gamma.pdf`;
|
||||
} else if (this.isBeta) {
|
||||
docPath = `/armd-help/Self-Beta-Gamma.pdf`;
|
||||
} else if(this.isBetaGamma) {
|
||||
docPath = `/armd-help/Beta-Gamma.pdf`;
|
||||
}
|
||||
|
||||
if(!docPath) {
|
||||
this.$message.warning('Please load an spectrum first!')
|
||||
return ;
|
||||
}
|
||||
window.open(apiBaseUrl + docPath, '_blank');
|
||||
|
||||
console.log('%c [ handleHelp ]-221', 'font-size:13px; background:pink; color:#bf2c9f;')
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user