From 6e2b929cf381e2320ba6e7dec56c0371124d2b51 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期六, 27 八月 2022 15:03:00 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml index 3537a18..b8f3117 100644 --- a/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml @@ -32,6 +32,8 @@ tijiaobingshenhe = tijiaobingshenhesto.PageName; } + List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>; + } @{ Layout = null; @@ -491,7 +493,7 @@ <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="鍔熻兘鎸夐挳锛氣�滀繚瀛樷�濓紝鈥滃垹闄も��"> - <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> + <a class="btn btn-success Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;display:none;"> <i class="glyphicon glyphicon-ok"></i> <span class="bold">鎻愪氦</span> </a> @@ -1251,6 +1253,14 @@ //} } + + $(function () { + var data = JSON.parse(ActionInfo22); + for (var o in data) { + $("." + data[o].PageShortcut).show(); + + } + }); </script> </body> </html> \ No newline at end of file -- Gitblit v1.9.1