Commit 06e185ca by wusiyi

fix: bug

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