|
@@ -1418,7 +1418,7 @@ export default {
|
|
|
//预览文件
|
|
//预览文件
|
|
|
viewfile(index) {
|
|
viewfile(index) {
|
|
|
if (this.orderInfo.isExternal == 1) {
|
|
if (this.orderInfo.isExternal == 1) {
|
|
|
- let url = process.env.BASE_URL + index.fileurl; // 3.创建一个临时的url指向blob对象
|
|
|
|
|
|
|
+ let url = index.fileurl; // 3.创建一个临时的url指向blob对象
|
|
|
fetch(url)
|
|
fetch(url)
|
|
|
.then((response) => response.blob())
|
|
.then((response) => response.blob())
|
|
|
.then((blob) => {
|
|
.then((blob) => {
|