This commit is contained in:
2022-03-09 13:41:06 +08:00
parent 7037180850
commit 2288b76e4e
10 changed files with 13 additions and 14 deletions

View File

@@ -3,7 +3,8 @@ $('[data-href]').on('click', function(event) {
if ($(this).hasClass('ajax-get') || $(this).hasClass('ajax-post')) {
return;
}
location.href = $(this).data('href');
window.open($(this).data('href'));
// location.href = $(this).data('href');
});
// ajax GET 请求