Commit 78ffc531 authored by gengchunlei's avatar gengchunlei

居民端小程序 1.小程序对接

parent e5024e9b
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
if (idCard) { if (idCard) {
const user = await getResidentByInfo({ idCard: idCard }) const user = await getResidentByInfo({ idCard: idCard })
if (!user.data) { if (!user.data) {
showNotify({ type: 'warning', message: '未获取慢病信息', duration: 0 }) showNotify({ type: 'warning', message: '未获取慢病信息', duration: 0 })
return return
} }
this.store.$patch({ userInfo: user.data || {} }) this.store.$patch({ userInfo: user.data || {} })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment