fuliqi
2025-02-19 04c2dff687369d6e427af76431d1b7607d7182b7
src/views/system/dept/index.vue
@@ -303,6 +303,13 @@
            const noResultsOptions = { deptId: this.form.parentId, deptName: this.form.parentName, children: [] };
            this.deptOptions.push(noResultsOptions);
          }
          if (row.parentId === 0) {
            this.deptOptions.push({
              deptId: 0,
              deptName: '无',
              children: []
            });
          }
        });
      });
    },