修复 admin 页面 JavaScript 花括号错误

This commit is contained in:
2026-07-11 00:06:45 +08:00
parent cfe463ae8b
commit bc2720257d
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -13,4 +13,3 @@ WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://127.0.0.1:16041
* Running on http://192.168.0.101:16041
Press CTRL+C to quit
127.0.0.1 - - [10/Jul/2026 23:59:48] "GET /api/categories/export HTTP/1.1" 200 -
+1 -1
View File
@@ -2823,7 +2823,7 @@
importData.categories.forEach(cat => {
html += `<span class="px-2 py-1 bg-blue-100 text-blue-700 rounded text-xs">${cat.name}</span>`;
});
html += '</div>';}
html += '</div>';
} else if (importData.category) {
html += `<div class="font-medium text-gray-800"><i class="ri-folder-line mr-1"></i>单个分类: ${importData.category.name}</div>`;
}