Browse Source

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

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

7
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();
@ -161,7 +162,11 @@
components: { components: {
// //
}, },
mounted() {
mounted() {
if(this.visible==true){
this.getDeptPosts();
this.getPosts();
}
} }
} }

Loading…
Cancel
Save