diff --git a/pages/index/index.vue b/pages/index/index.vue index 994e23b6..b61426e0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -193,6 +193,8 @@ }) this.$forceUpdate() + }).catch(res=>{ + console.log("获取消息失败",res) }); }, @@ -326,7 +328,8 @@ if (res.data.length > 0) { uni.setStorageSync("dictionary", res.data) } - + }).catch(res=>{ + console.log("获取字典失败",res) }) },