ソースを参照

fix:修复打印日志bug

LuoDLeo 2 年 前
コミット
42eafeffa3
1 ファイル変更1 行追加2 行削除
  1. 1 2
      common/js/request.js

+ 1 - 2
common/js/request.js

@@ -36,8 +36,7 @@ function service(options = {}) {
 					uni.showToast({
 						icon: 'none',
 						duration: 3000,
-						// title:'系统繁忙,请重试!'
-						title: res.data.msg
+						title: res.data.msg || '系统繁忙,请重试!'
 					});
 				}
 				// 返回错误信息