This commit is contained in:
@fawn-nine
2023-05-18 13:23:11 +08:00
parent db2beb84e5
commit 078aa9af06
113 changed files with 17985 additions and 288 deletions

View File

@@ -83,7 +83,7 @@ $http.getAliToken = function(callback) {
//请求开始拦截器
$http.requestStart = function(options) {
// console.log("请求开始", options);
if (options.load) {
if (options.load && options.data.loadAnimate != 'none') {
//打开加载动画
store.commit("setLoadingShow", true);
}
@@ -293,7 +293,8 @@ $http.dataFactory = async function(res) {
data: res.data
});
} else { //其他错误提示
if (res.isPrompt) {
console.log(httpData.info || httpData.msg)
if (res.isPrompt && res.data.loadAnimate != 'none') {
uni.showToast({
title: httpData.info || httpData.msg,
icon: "none",