@@ -36,8 +36,8 @@ function service(options = {}) {
uni.showToast({
icon: 'none',
duration: 3000,
- title:'系统繁忙,请重试!'
- // title: '错误信息:'+`${res.data.msg}`
+ // title:'系统繁忙,请重试!'
+ title: res.data.msg
});
}
// 返回错误信息
@@ -123,11 +123,7 @@
url: '/myPages/serviceObjectInfo/index?data=' + JSON.stringify(serviceObject),
})
- }).catch(() =>{
- uni.showToast({
- title: "操作失败"
- })
- });
+ })
},
//头像上传