修复 admin 页面 JavaScript 花括号错误
This commit is contained in:
@@ -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://127.0.0.1:16041
|
||||||
* Running on http://192.168.0.101:16041
|
* Running on http://192.168.0.101:16041
|
||||||
Press CTRL+C to quit
|
Press CTRL+C to quit
|
||||||
127.0.0.1 - - [10/Jul/2026 23:59:48] "GET /api/categories/export HTTP/1.1" 200 -
|
|
||||||
@@ -2823,7 +2823,7 @@
|
|||||||
importData.categories.forEach(cat => {
|
importData.categories.forEach(cat => {
|
||||||
html += `<span class="px-2 py-1 bg-blue-100 text-blue-700 rounded text-xs">${cat.name}</span>`;
|
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) {
|
} else if (importData.category) {
|
||||||
html += `<div class="font-medium text-gray-800"><i class="ri-folder-line mr-1"></i>单个分类: ${importData.category.name}</div>`;
|
html += `<div class="font-medium text-gray-800"><i class="ri-folder-line mr-1"></i>单个分类: ${importData.category.name}</div>`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user