Skip to content

Commit

Permalink
fix(ncform): improve performance
Browse files Browse the repository at this point in the history
re #136
  • Loading branch information
daniel-dx committed Mar 27, 2021
1 parent 4bc0678 commit 60a436d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/ncform/src/components/vue-ncform/form-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ export default {
},
immediate: true
},
schema: {
handler: function(newVal) {
'schema.value': {
handler: function() {
const newVal = this.schema
let changed = false;
if (ncformUtils.isNormalArrSchema(newVal)) {
this.$data.itemValue = this.$data.itemValue || [];
Expand Down

0 comments on commit 60a436d

Please sign in to comment.