删除所有console.log输出,优化评查结果的表格的显示,添加新的页码获取逻辑
This commit is contained in:
+2
-2
@@ -537,7 +537,7 @@
|
||||
const type = document.getElementById('search-type').value;
|
||||
const status = document.getElementById('search-status').value;
|
||||
|
||||
console.log('搜索条件:', {
|
||||
// console.log('搜索条件:', {
|
||||
name: name,
|
||||
type: type,
|
||||
status: status
|
||||
@@ -576,7 +576,7 @@
|
||||
function deleteTemplate(id) {
|
||||
if (confirm('确定要删除该模板吗?删除后无法恢复。')) {
|
||||
// 实际应该调用API删除数据
|
||||
console.log('删除模板ID:', id);
|
||||
// console.log('删除模板ID:', id);
|
||||
alert('删除成功!');
|
||||
// 刷新页面
|
||||
window.location.reload();
|
||||
|
||||
Reference in New Issue
Block a user