修改列表显示

This commit is contained in:
augushong
2021-07-05 13:49:32 +08:00
parent 96375631c6
commit 31bf78f0f0

View File

@@ -317,13 +317,12 @@
$('.show-files').click(function () {
var files = $(this).siblings('.files');
if (files.is(':visible')) {
files.hide()
$(this).text('隐藏')
$(this).text('显示')
} else {
files.show()
$(this).text('显示')
$(this).text('隐藏')
}
})