- {{ realnameF }}
-
+ {{ nicknameF }}
+
@@ -126,8 +126,8 @@ const settingDialog = ref(false)
const userInfo = tools.data.get("USER_INFO");
let msgTab = ref("notice")
-let realname = userInfo.realname;
-let realnameF = realname.substring(0, 1);
+let nickname = userInfo.nickname || userInfo.username;
+let nicknameF = nickname.substring(0, 1);
let avatar = userInfo.avatar
// mounted
diff --git a/src/layout/index.vue b/src/layout/index.vue
index f010b01..f7409aa 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -238,7 +238,7 @@
-
+
+
diff --git a/src/views/system/menu/save.vue b/src/views/system/menu/save.vue
new file mode 100644
index 0000000..f744bf4
--- /dev/null
+++ b/src/views/system/menu/save.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
+
+
+ {{ form.title || "新增菜单" }}
+
+
+
+
+
+
+
+
+
+ 菜单
+ 按钮
+ 接口
+
+
+
+
+
+
+
+
+ 系统唯一且与内置组件名一致,否则导致缓存失效。如类型为Iframe的菜单,别名将代替源地址显示在地址栏
+
+
+
+
+ 首位不需要填写 "/", 自动匹配页面路径
+
+
+ 隐藏菜单
+
+
+
+ 数值越大越靠前
+
+
+
+
+
+
+
+
+ 权限分隔符":"分割
+
+
+ 保 存
+
+
+
+
+
+
+
+
+
+
+