From 54cac9c1a8b9e0a030c4497c270b3bfadfaa3671 Mon Sep 17 00:00:00 2001 From: Argo-Surface Date: Fri, 24 Feb 2017 14:54:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E7=A7=BB?= =?UTF-8?q?=E9=99=A4Longbow.Common=E8=84=9A=E6=9C=AC=E4=B8=AD=E7=9A=84sele?= =?UTF-8?q?ctval=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8val=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Scripts/Menus.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Bootstrap.Admin/Scripts/Menus.js b/Bootstrap.Admin/Scripts/Menus.js index 5b1ef3d4..da2c12a5 100644 --- a/Bootstrap.Admin/Scripts/Menus.js +++ b/Bootstrap.Admin/Scripts/Menus.js @@ -162,13 +162,13 @@ $btnSubmitMenu.data('type', 'order'); $nestMenuInput.find('label:last').find('input').hide(); $nestMenu.find('li.dd-item').hide().remove('[data-id="0"]'); - $nestMenu.find('li[data-category="' + $category.selectval() + '"]').show(); + $nestMenu.find('li[data-category="' + $category.val() + '"]').show(); // handler new menu var did = $('#menuID').val(); if (did == "") did = 0; if (did == 0) { var menuName = $('#name').val(); - var menuCate = $category.selectval(); + var menuCate = $category.val(); if (menuName == "") menuName = "新建菜单-未命名"; $nestMenu.find('ol.dd-list:first').append($.format('
  • ', menuName, menuCate)); } @@ -182,7 +182,7 @@ $btnSubmitMenu.data('type', 'parent'); $nestMenuInput.find('label:last').find('input').show(); $nestMenu.find('li.dd-item').hide().remove('[data-id="0"]'); - $nestMenu.find('li[data-category="' + $category.selectval() + '"]').show(); + $nestMenu.find('li[data-category="' + $category.val() + '"]').show(); $dialogMenu.show().adjustDialog(); });