fix: 自建台站Load From File重新加载谱时报错问题
This commit is contained in:
parent
4e90224756
commit
5662395265
|
@ -657,7 +657,9 @@ export default {
|
|||
dbName,
|
||||
analyst: analyst ? analyst : null,
|
||||
sampleFileName,
|
||||
gasFileName,
|
||||
detFileName,
|
||||
qcFileName,
|
||||
}
|
||||
getAction('/selfStation/initValue', params)
|
||||
}
|
||||
|
@ -1110,20 +1112,20 @@ export default {
|
|||
// 查看软件操作帮助文档
|
||||
handleHelp() {
|
||||
let docPath = null
|
||||
let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || "/jeecg-boot";
|
||||
if(this.isGamma) {
|
||||
docPath = `/armd-help/Gamma.pdf`;
|
||||
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`;
|
||||
docPath = `/armd-help/Self-Beta-Gamma.pdf`
|
||||
} else if (this.isBetaGamma) {
|
||||
docPath = `/armd-help/Beta-Gamma.pdf`
|
||||
}
|
||||
|
||||
if(!docPath) {
|
||||
if (!docPath) {
|
||||
this.$message.warning('Please load an spectrum first!')
|
||||
return ;
|
||||
return
|
||||
}
|
||||
window.open(apiBaseUrl + docPath, '_blank');
|
||||
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