Browse Source

主页面catch

wms3.0_pda
lijuncheng 10 months ago
parent
commit
c6bd7e3109
  1. 5
      pages/index/index.vue

5
pages/index/index.vue

@ -193,6 +193,8 @@
}) })
this.$forceUpdate() this.$forceUpdate()
}).catch(res=>{
console.log("获取消息失败",res)
}); });
}, },
@ -326,7 +328,8 @@
if (res.data.length > 0) { if (res.data.length > 0) {
uni.setStorageSync("dictionary", res.data) uni.setStorageSync("dictionary", res.data)
} }
}).catch(res=>{
console.log("获取字典失败",res)
}) })
}, },

Loading…
Cancel
Save