@@ -2,3 +2,4 @@
1. ui使用vant 未全部引入 按需在page.json中配置
2. utils/config 中为项目配置
+ 3. master分支为线上分支、debug为测试分支,上线时修改项目配置中的请求地址
@@ -15,14 +15,24 @@ export const preViewFile=fileurl=>{
filePath:tempFilePath,
success() {
console.log('打开成功');
+ },
+ fail(){
+ setTimeout(() => {
+ uni.showToast({
+ title:'打开失败,请重试',
+ icon:"none"
+ })
+ }, 0);
}
})
},
fail(){
- uni.showToast({
- title:'下载失败,请重试',
- icon:"none"
- })
+ title:'下载失败,请重试',
complete(){
uni.hideLoading()
@@ -122,7 +122,7 @@
"navigationBarTitleText":"驳回理由"
- ]
+ ]
],
"globalStyle": {