diff --git a/app/admin/view/menu/index.html b/app/admin/view/menu/index.html index 32199b458..8b2c8e850 100644 --- a/app/admin/view/menu/index.html +++ b/app/admin/view/menu/index.html @@ -107,7 +107,7 @@ {{# } }} {if auth('edit')} - 编 辑 + 编 辑 {/if} {if auth('remove')} diff --git a/public/static/admin.js b/public/static/admin.js index b972c4bfb..4c219e09c 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -769,6 +769,10 @@ $(function () { $table.trigger('render', {height: $(window).height() - $table.next().offset().top - 35}) }).trigger('sort', function (rets) { (sort = rets), $table.trigger('reload') + }).trigger('rowDouble', function (event) { + $(event.tr[0]).find('[data-event-dbclick]').map(function () { + $(this).trigger(this.dataset.eventDbclick || 'click', event); + }); }); return $table;