Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
@@ -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/');
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user