Преглед изворни кода

【前端目录】!88 当微信小程序没有申请该API时,提示错误
Merge pull request !88 from 酷酷的刘/N/A

聆听 пре 1 година
родитељ
комит
c219e73071
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      template/uni-app/utils/util.js

+ 5 - 0
template/uni-app/utils/util.js

@@ -613,6 +613,11 @@ export default {
 
 
 					}
 					}
 				})
 				})
+			},
+            fail: function(res) {
+				that.Tips({
+					title: res.errMsg
+				});
 			}
 			}
 		})
 		})