RuoYi
2020-07-30 76aa1cda49270a3c244ab3cd0a2c53a1fb7e2c18
新增菜单默认主类目
1 files modified
4 ■■■ changed files
ruoyi-ui/src/views/system/menu/index.vue 4 ●●● patch | view | raw | blame | history
ruoyi-ui/src/views/system/menu/index.vue
@@ -314,8 +314,10 @@
    handleAdd(row) {
      this.reset();
      this.getTreeselect();
      if (row != null) {
      if (row != null && row.menuId) {
        this.form.parentId = row.menuId;
      } else {
        this.form.parentId = 0;
      }
      this.open = true;
      this.title = "添加菜单";