Skip to content

Commit

Permalink
优化DictEditer
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Aug 19, 2022
1 parent f7c9265 commit c67f5ed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/system/components/DictEditer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,11 @@ export default {
};
},
watch: {
dictCode: function () {
this.$set(this.queryParam, "dictCode", this.dictCode);
dictCode: {
handler() {
this.queryParam.dictCode = this.dictCode;
},
immediate: true,
},
},
methods: {
Expand Down

0 comments on commit c67f5ed

Please sign in to comment.