Commit 06e185ca by wusiyi

fix: bug

parent 1c1aca1d
......@@ -953,8 +953,8 @@ export default {
async getSecuritySetting() {
const res = await getSecuritySettingApi()
this.securitySetting = res.data
this.securityFormData.phone = res.data.phone || ''
this.securityFormData.mailbox = res.data.mailbox || ''
this.securityFormData.phone = res?.data?.phone || ''
this.securityFormData.mailbox = res?.data?.mailbox || ''
},
// 查询
async getList() {
......@@ -968,9 +968,10 @@ export default {
})
this.sourceData = res.data.records
this.paginationOptions.total = res.data.total
this.loading = false
} catch (error) {
console.log(error)
} finally {
this.loading = false
}
},
// 获取详情
......
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