...
|
...
|
@@ -99,6 +99,7 @@ $page.on('touchstart', '.del-icon', function() { |
|
|
rightBtnText: '确定'
|
|
|
}
|
|
|
}, function() {
|
|
|
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: '/home/delRecord',
|
...
|
...
|
@@ -107,7 +108,12 @@ $page.on('touchstart', '.del-icon', function() { |
|
|
},
|
|
|
success: function(data) {
|
|
|
if (data.code === 200) {
|
|
|
window.history.go(0);
|
|
|
dialog.showDialog({
|
|
|
dialogText: '删除浏览记录成功',
|
|
|
autoHide: true,
|
|
|
fast: true
|
|
|
});
|
|
|
setTimeout(function(){window.history.go(0);},1000);
|
|
|
}
|
|
|
},
|
|
|
complete: function() {
|
...
|
...
|
|