From 140be610032a7b92ac0a7627d10353dca81ac608 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sat, 08 Feb 2020 14:49:46 +0800
Subject: [PATCH] 根据用户权限加载菜单数据树形结构
---
ruoyi-ui/src/views/system/dept/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/views/system/dept/index.vue b/ruoyi-ui/src/views/system/dept/index.vue
index bcefdb8..c3574b1 100644
--- a/ruoyi-ui/src/views/system/dept/index.vue
+++ b/ruoyi-ui/src/views/system/dept/index.vue
@@ -151,8 +151,8 @@
loading: true,
// 表格树数据
deptList: [],
- // 部门部门树选项
- deptOptions: undefined,
+ // 部门树选项
+ deptOptions: [],
// 弹出层标题
title: "",
// 是否显示弹出层
@@ -228,7 +228,7 @@
reset() {
this.form = {
deptId: undefined,
- parentId: 100,
+ parentId: undefined,
deptName: undefined,
orderNum: undefined,
leader: undefined,
--
Gitblit v1.9.2