NEZ-663 fix: 排查部分报错问题

This commit is contained in:
chenjinsong
2021-05-25 19:47:22 +08:00
parent 9fbe3f6ca2
commit dbf0e74e7a
6 changed files with 36 additions and 765 deletions

View File

@@ -220,7 +220,7 @@ export default {
deep: true,
handler (n, o) {
this.editCredential = JSON.parse(JSON.stringify(n))
if (this.editCredential.config) {
if (this.editCredential.config && typeof this.editCredential.config === 'string') {
this.editCredential.config = JSON.parse(this.editCredential.config)
}
}