上传失败提示

This commit is contained in:
老叶
2022-12-20 17:33:07 +08:00
parent bec388ab40
commit 71267c64e3
10 changed files with 136 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const env = "d";
const env = "p";
const version = 1,
+25
View File
@@ -92,6 +92,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -148,6 +153,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -204,6 +214,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -252,6 +267,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -300,6 +320,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+20
View File
@@ -93,6 +93,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -149,6 +154,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -251,6 +261,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -299,6 +314,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+5
View File
@@ -73,6 +73,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+10
View File
@@ -110,6 +110,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -161,6 +166,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+25
View File
@@ -92,6 +92,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -148,6 +153,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -204,6 +214,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -252,6 +267,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -300,6 +320,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+25
View File
@@ -92,6 +92,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -148,6 +153,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -204,6 +214,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -252,6 +267,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -300,6 +320,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+10
View File
@@ -271,10 +271,20 @@ Page({
})
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
fail: res => {
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
})
},
+10
View File
@@ -72,6 +72,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
@@ -117,6 +122,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
+5
View File
@@ -70,6 +70,11 @@ Page({
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})