[update] 预览标准文件时无标准文件的提示,修改为该标准暂无预览文件,请联系标准管理员。

This commit is contained in:
lideqin
2024-02-21 11:38:14 +08:00
parent 4400a94c88
commit 2c31f1211d
3 changed files with 3 additions and 3 deletions
@@ -770,7 +770,7 @@ export default {
file = await this.selectNewestFile(newestFileList)
if (file === null) { // 没有找到文件就退出
console.log('没有找到符合要求的文件!')
this.$message.error('没有找到符合要求的文件!')
this.$message.error('该标准暂无预览文件,请联系标准管理员。')
return
}
console.log('seletedFile', file)
@@ -676,7 +676,7 @@ export default {
file = await this.selectNewestFile(newestFileList)
if (file === null) { // 没有找到文件就退出
console.log('没有找到符合要求的文件!')
this.$message.error('没有找到符合要求的文件!')
this.$message.error('该标准暂无预览文件,请联系标准管理员。')
return
}
console.log('seletedFile', file)
@@ -677,7 +677,7 @@ export default {
file = await this.selectNewestFile(newestFileList)
if (file === null) { // 没有找到文件就退出
console.log('没有找到符合要求的文件!')
this.$message.error('没有找到符合要求的文件!')
this.$message.error('该标准暂无预览文件,请联系标准管理员。')
return
}
console.log('seletedFile', file)