Browse Source

解决部门设置岗位时第一次打开不加载数据的问题

master
陈裕财 2 years ago
parent
commit
177eaf0be8
  1. 5
      src/views/mdp/sys/deptPost/DeptPostMng.vue

5
src/views/mdp/sys/deptPost/DeptPostMng.vue

@ -53,6 +53,7 @@
}, },
watch: { watch: {
visible(val){ visible(val){
debugger;
if(val==true){ if(val==true){
this.getDeptPosts(); this.getDeptPosts();
this.getPosts(); this.getPosts();
@ -162,6 +163,10 @@
// //
}, },
mounted() { mounted() {
if(this.visible==true){
this.getDeptPosts();
this.getPosts();
}
} }
} }

Loading…
Cancel
Save