Эх сурвалжийг харах

切换角色,清空用户列表

gangyj 3 жил өмнө
parent
commit
c49e721c6b

+ 1 - 0
src/views/manager/contractinfo/detail.vue

@@ -701,6 +701,7 @@ export default {
     rId: function () {
       this.postIdss = ''
       this.postId = ''
+      this.contractUserList = [];//从超级管理员,切到其他角色,不会清空列表
       this.roleList.forEach(val => {
         if (val.id === this.rId) {
           if (val.children) {