修改BUG:点击清除某个缓存后tipso依然存在

This commit is contained in:
Argo-Lenovo 2016-11-29 09:33:12 +08:00
parent a3b2129429
commit bb47d57f87
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@
$('#clearCache').tipso({ width: 180, position: 'left' });
}
$sortable.on('click', '.btn', function () {
console.log($(this).attr('data-key'));
if ($(this).hasClass('tipso_style')) $(this).tipso('hide').tipso('destroy');
listCache({ key: $(this).attr('data-key'), url: $(this).attr('data-url') });
listCacheUrl();
});