Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop

This commit is contained in:
田岩
2025-09-17 11:01:02 +08:00
3 changed files with 12 additions and 5 deletions
+2 -1
View File
@@ -473,7 +473,8 @@
});
break;
case 'preview':
if (getPhoneEnvBool('AND')) {
// if (getPhoneEnvBool('AND')) {
if (false) {
common.navigateTo('/pages/index/preview?fileId=' + info.docId);
} else {
const base_url = get_base_url('/traask/traFilePreview/');
+9 -3
View File
@@ -37,9 +37,15 @@ export default {
this.fileId = params.fileId || ''
},
onShow() {
this.openPdfFn({
fileId: this.fileId
})
if (getPhoneEnvBool('AND')) {
this.openPdfFn({
fileId: this.fileId
})
}else{
const base_url = get_base_url('/traask/traFilePreview/');
let fileUrl = base_url + '/traask/traFilePreview/' + info.docId;
this.showUrl = fileUrl
}
},
onReady() {
//#ifdef APP-PLUS