mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 06:26:44 +08:00
调用接口时机修改
This commit is contained in:
@@ -92,7 +92,12 @@ export default {
|
||||
// 切换部
|
||||
onDeptChanged() {
|
||||
this.pageNum = 1
|
||||
this.groupIndex = 0
|
||||
// groupIndex为0时切换部不会触发groupChange事件, 手动调一下接口
|
||||
if (this.groupIndex === 0) {
|
||||
this.getNewcomers()
|
||||
} else {
|
||||
this.groupIndex = 0
|
||||
}
|
||||
this.groups = this.dept.subBranchGroupLst
|
||||
},
|
||||
// 切换组
|
||||
|
||||
Reference in New Issue
Block a user