From 00d9bf815f2d2fdd7d9a3f1b3801ecf53dfecb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Tue, 28 Jul 2020 00:25:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/module/admin.js | 10 +++++----- index.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/component/pear/module/admin.js b/component/pear/module/admin.js index 82f49f8..ebe8042 100644 --- a/component/pear/module/admin.js +++ b/component/pear/module/admin.js @@ -235,19 +235,19 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'], }); - $("body").on("click",'[menu-id]',function(){ + $("body").on("click",'[user-menu-id]',function(){ if(getData().tab.muiltTab){ bodyTab.addTabOnly({ - id: $(this).attr("menu-id"), - title: $(this).attr("menu-title"), - url: $(this).attr("menu-url"), + id: $(this).attr("user-menu-id"), + title: $(this).attr("user-menu-title"), + url: $(this).attr("user-menu-url"), icon: "", close: true }, 300); }else{ - bodyFrame.changePage($(this).attr("menu-url"), "", true); + bodyFrame.changePage($(this).attr("user-menu-url"), "", true); } }) diff --git a/index.html b/index.html index dbface6..034ac06 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,8 @@ 就眠仪式
-
基本资料
-
安全设置
+
基本资料
+
安全设置
注销登录