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

删除组合后,不管成功或失败,都重新加载组合列表数据

shizhongqi 4 жил өмнө
parent
commit
8252fa74d9

+ 6 - 5
hdPad/src/pages/home/components/leftGroup.vue

@@ -133,12 +133,13 @@ export default {
             del({id:itemId}).then(res=>{
 				if(res.code == 1){
 				    that.$msg(res.msg)
-                    getGroupList({page: this.list.page}).then(res=>{
-                        if(res.code == 1){
-                            this.completes(res);
-                        }
-                    })
 				}
+
+                getGroupList({page: this.list.page}).then(res=>{
+                    if(res.code == 1){
+                        this.completes(res);
+                    }
+                })
 			})
         }
     }