Commit 0d2712fa authored by 郭志伟's avatar 郭志伟

fix: 异常处理

parent 69d9a742
......@@ -53,7 +53,7 @@ export default {
},
actions: {
async setFamilyList({ commit }, policyList) {
let familyList = await getFamilyList();
let familyList = (await getFamilyList()) || [];
if (!policyList) {
policyList = await getPolicyList();
}
......
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