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

过滤新增选择职员名称位null

chenrui  3 жил өмнө
parent
commit
7bf537cd98

+ 3 - 0
src/views/systemManagement/addSystem/index.vue

@@ -344,6 +344,9 @@ export default {
               const arrs = this.arrList.flat();
               const msgs = _.unionBy(arrs, "UserId");
               this.FormData.Unuselist = msgs;
+              this.FormData.Unuselist = this.FormData.Unuselist.filter(
+                (i) => i.UserName
+              );
               this.dataList = msgs;
               this.total = num;
               this.loading = false;