Browse Source

[UI] null pointer exception (#6325)

2.0.7-release
Wangyizhi1 3 years ago committed by GitHub
parent
commit
bf8e9b5721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue

@ -127,6 +127,10 @@
if (item.title.indexOf('$t') !== -1) {
item.title = this.$t(item.field)
}
// fix null pointer exception
if (!item.props) {
item.props = {}
}
})
}).catch(e => {
this.$message.error(e.msg || '')

Loading…
Cancel
Save