...
|
...
|
@@ -108,12 +108,7 @@ function bindListPageEvent() { |
|
|
};
|
|
|
|
|
|
const noticeFn = function() {
|
|
|
let noticeVal = $noticeInput.val();
|
|
|
|
|
|
if (!noticeVal) {
|
|
|
alert('请填写悬浮内容');
|
|
|
return;
|
|
|
}
|
|
|
let noticeVal = $noticeInput.val() || '';
|
|
|
|
|
|
$.ajax({
|
|
|
method: 'post',
|
...
|
...
|
@@ -161,7 +156,7 @@ function bindListPageEvent() { |
|
|
$confirm.modal('show');
|
|
|
});
|
|
|
$('.btn-notice').on('click', function() {
|
|
|
$noticeInput.text('');
|
|
|
$noticeInput.val($(this).parent().data('notice') || '');
|
|
|
$noticeModal.data('id', $(this).data('id'));
|
|
|
$noticeModal.modal('show');
|
|
|
});
|
...
|
...
|
|