{"id":1420,"date":"2025-09-10T16:45:04","date_gmt":"2025-09-10T08:45:04","guid":{"rendered":"https:\/\/blog.humh.cn\/?p=1420"},"modified":"2025-09-10T16:51:59","modified_gmt":"2025-09-10T08:51:59","slug":"fullcalendar-render%e6%97%a0%e6%95%88%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/blog.humh.cn\/?p=1420","title":{"rendered":"fullcalendar render\u65e0\u6548\u95ee\u9898"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-medium\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170.png\" target=\"_blank\" rel=\"noopener\"><img width=\"300\" height=\"262\" class=\"wp-image-1421 lazyload\" title=\"fullcalendar render\u65e0\u6548\u95ee\u9898\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170-300x262.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170-300x262.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170-300x262.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170-768x670.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909184351170.png 1020w\" sizes=\"(max-width: 300px) 100vw, 300px\"><\/a><\/figure><\/div>\n\n\n\n<p>\u76ee\u524d\u5728\u5f15\u7528 fullcalendar@5.11.3 \u65f6<br><code>&lt;link href=\"https:\/\/cdn.jsdelivr.net\/npm\/fullcalendar@5.11.3\/main.min.css\" rel=\"stylesheet\"><\/code><\/p>\n\n\n\n<p>\u9047\u5230\u4e86\u91cd\u65b0\u5237\u65b0\u6e32\u67d3\u8c03\u7528 render \u51fd\u6570\u65e0\u6548\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<h2>\u4e1a\u52a1\u573a\u666f<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-medium\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846.png\" target=\"_blank\" rel=\"noopener\"><img width=\"298\" height=\"300\" class=\"wp-image-1425 lazyload\" title=\"fullcalendar render\u65e0\u6548\u95ee\u9898\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-298x300.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-298x300.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-298x300.png 298w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-1016x1024.png 1016w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-150x150.png 150w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846-768x774.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909185051846.png 1080w\" sizes=\"(max-width: 298px) 100vw, 298px\"><\/a><\/figure><\/div>\n\n\n\n<p>\u5e0c\u671b\u70b9\u51fb\u6216\u6ed1\u52a8\u9009\u4e2d\u4e00\u4e2a\u6216\u591a\u4e2a\u65e5\u671f\u540e\uff0c\u65e5\u5386\u63a7\u4ef6\u4e0a\u80fd\u7acb\u9a6c\u80cc\u666f\u52a0\u6df1\u6807\u8bb0\u3002<\/p>\n\n\n\n<h2>\u95ee\u9898\u53d1\u73b0<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">function initFullCalendar() {\n    var calendarEl = document.getElementById('calendar');\n\n    if (!calendarEl) return;\n\n    \/\/ \u5982\u679c\u5df2\u7ecf\u521d\u59cb\u5316\u8fc7\uff0c\u5219\u9500\u6bc1\u91cd\u65b0\u521d\u59cb\u5316\n    if (calendar) {\n        calendar.destroy();\n    }\n\n    calendar = new FullCalendar.Calendar(calendarEl, {\n        initialView: 'dayGridMonth',\n        selectable: true,\n        selectMirror: true,\n        dayCellClassNames: function(arg) {\n            \/\/ \u68c0\u67e5\u65e5\u671f\u662f\u5426\u5df2\u88ab\u9009\u4e2d\n            var dateStr = formatDate(arg.date);\n            if (selectedDates.includes(dateStr)) {\n                return ['selected'];\n            }\n            return [];\n        },\n        dateClick: function(info) {\n            \/\/ \u5355\u51fb\u9009\u62e9\u65e5\u671f\n            toggleDateSelection(info.dateStr);\n        },\n        select: function(info) {\n            \/\/ \u8303\u56f4\u9009\u62e9\n            var start = new Date(info.start);\n            var end = new Date(info.end);\n            console.log(start, \" ~ \",end)\n            \/\/ \u9010\u65e5\u6dfb\u52a0\u5230\u9009\u4e2d\u5217\u8868\n            var currentDate = new Date(start);\n            while (currentDate &lt; end) {\n                var dateStr = formatDate(currentDate);\n                console.log(dateStr)\n                if (!selectedDates.includes(dateStr)) {\n                    selectedDates.push(dateStr);\n                }\n                currentDate.setDate(currentDate.getDate() + 1);\n            }\n\n            updateSelectedDatesDisplay(selectedDates);\n            calendar.render(); \/\/ \u91cd\u65b0\u6e32\u67d3\u4ee5\u66f4\u65b0\u6837\u5f0f\n        }\n    });\n\n    calendar.render();\n\n    document.getElementById(\"clear-selected-dates-btn\").addEventListener(\"click\", function() {\n        \/\/ \u6e05\u7a7a selectedDates \u6570\u7ec4\n        selectedDates.length = 0;\n        \/\/ \u66f4\u65b0\u663e\u793a\n        updateSelectedDatesDisplay(selectedDates);\n        \/\/ \u91cd\u65b0\u6e32\u67d3\u65e5\u5386\u4ee5\u66f4\u65b0\u9009\u4e2d\u72b6\u6001\n        if (calendar) {\n            calendar.render();\n        }\n\n        alert(\"\u5df2\u6e05\u7a7a\u6240\u6709\u9009\u4e2d\u7684\u65e5\u671f\");\n    });\n}\n\n\/\/ \u6b63\u786e\u683c\u5f0f\u5316\u65e5\u671f\uff0c\u907f\u514d\u65f6\u533a\u95ee\u9898\nfunction formatDate(date) {\n    var year = date.getFullYear();\n    var month = (date.getMonth() + 1).toString().padStart(2, '0');\n    var day = date.getDate().toString().padStart(2, '0');\n    return year + '-' + month + '-' + day;\n}\n\n\/\/ \u5207\u6362\u65e5\u671f\u9009\u4e2d\u72b6\u6001\nfunction toggleDateSelection(dateStr) {\n    var index = selectedDates.indexOf(dateStr);\n    if (index &lt; 0) {\n        \/\/ \u5982\u679c\u672a\u9009\u4e2d\uff0c\u5219\u6dfb\u52a0\u5230\u9009\u4e2d\u5217\u8868\n        selectedDates.push(dateStr);\n    }\n\n    updateSelectedDatesDisplay(selectedDates);\n    calendar.render(); \/\/ \u91cd\u65b0\u6e32\u67d3\u4ee5\u66f4\u65b0\u6837\u5f0f\n}\n\nfunction updateSelectedDatesDisplay(dates) {\n    var displayDiv = document.getElementById(\"selected-dates-display\");\n    if (!displayDiv) return;\n\n    \/\/ \u5bf9\u65e5\u671f\u6570\u7ec4\u8fdb\u884c\u5347\u5e8f\u6392\u5e8f\n    dates.sort(function(a, b) {\n        return new Date(a) - new Date(b);\n    });\n\n    var html = '&lt;div style=\"margin-top: 10px;\">&lt;strong>\u5df2\u9009\u65e5\u671f:&lt;\/strong>&lt;ul>';\n    dates.forEach(function(date) {\n        html += '&lt;li style=\"list-style: disc; margin-left: 20px;\">' + date +\n               ' &lt;a href=\"#\" onclick=\"removeDate(\\'' + date + '\\'); return false;\" style=\"color:red; text-decoration: none;\">[x]&lt;\/a>&lt;\/li>';\n    });\n    html += '&lt;\/ul>&lt;\/div>';\n    displayDiv.innerHTML = html;\n}\n\nfunction removeDate(date) {\n    var index = selectedDates.indexOf(date);\n    if (index > -1) {\n        selectedDates.splice(index, 1);\n        updateSelectedDatesDisplay(selectedDates);\n        calendar.render(); \/\/ \u91cd\u65b0\u6e32\u67d3\u4ee5\u66f4\u65b0\u6837\u5f0f\n    }\n}<\/pre>\n\n\n\n<p>\u539f\u5148\u4ee3\u7801\u5982\u4e0a\uff0c\u91cd\u70b9\u5728\u4e8e\u6bcf\u6b21\u5df2\u9009\u65e5\u671f\u66f4\u65b0\u540e\uff0c\u4f1a\u901a\u8fc7\u8c03\u7528 render() \u51fd\u6570\u6765\u66f4\u65b0\u3002\u4f46\u5b9e\u6d4b\u53d1\u73b0\uff0c\u53ea\u6709\u5728\u70b9\u51fb\u65e5\u5386\u63a7\u4ef6\u53f3\u4e0a\u89d2\u7684\u201c&lt;\u201d\uff08\u4e0a\u4e2a\u6708\uff09\u4e0e\u201c&gt;\u201d\uff08\u4e0b\u4e2a\u6708\uff09\u5207\u6362\u5237\u65b0\u540e\uff0c\u624d\u4f1a\u80cc\u666f\u8272\u53d8\u66f4\u6807\u8bb0\u3002<\/p>\n\n\n\n<p>\u5b98\u65b9\u67e5\u5230\u786e\u6709\u8fd9\u4e2a <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/fullcalendar\/fullcalendar\/issues\/2709\" target=\"_blank\">BUG<\/a>\uff0c\u5176\u4e2d\u6709\u4eba\u53cd\u9988\u8c03\u7528 rerenderEvents \u51fd\u6570\u5b9e\u73b0\uff0c\u4f46\u8fd9\u4e2a V4 \u5230 V5 \u7248\u672c\u65f6\u5c31\u5df2\u7ecf\u53bb\u6389\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622.png\" target=\"_blank\" rel=\"noopener\"><img width=\"1024\" height=\"64\" class=\"wp-image-1426 lazyload\" title=\"fullcalendar render\u65e0\u6548\u95ee\u9898\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-1024x64.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-1024x64.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-1024x64.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-300x19.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-768x48.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622-1536x95.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250909190500622.png 1674w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/a><\/figure>\n\n\n\n<p>\u9500\u6bc1\u91cd\u65b0\u521b\u5efa calendar \u7684\u8bdd\uff0c\u6709\u6027\u80fd\u95ee\u9898\u4e14\u53ef\u80fd\u5e26\u6765\u5176\u4ed6\u95ee\u9898<\/p>\n\n\n\n<p>\u5176\u5b9e\u53ef\u4ee5\u6362\u4e2a\u601d\u8def\uff0c\u6700\u7ec8\u80cc\u666f\u8272\u53d8\u66f4\u65e0\u975e\u5c31\u662f\u589e\u52a0 css \u7684\u652f\u6301\uff0ccss \u672c\u8eab\u63a7\u4ef6\u5df2\u63d0\u4f9b\uff0c\u53ea\u9700\u7ed9\u9700\u8981\u80cc\u666f\u8272\u7684\u65e5\u671f html \u5757\u589e\u52a0\u8be5 css \u6837\u5f0f\u5373\u53ef\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370.png\" target=\"_blank\" rel=\"noopener\"><img width=\"1024\" height=\"647\" class=\"wp-image-1427 lazyload\" title=\"fullcalendar render\u65e0\u6548\u95ee\u9898\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-1024x647.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-1024x647.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-1024x647.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-300x189.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-768x485.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-1536x970.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163200370-2048x1294.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/a><figcaption>17\u53f7\u80cc\u666f\u8272\u6807\u8bb0\u5bf9\u5e94html\u7247\u6bb5<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u5bf9\u4e8e click \u4e8b\u4ef6\uff0c\u5b98\u65b9\u63d0\u4f9b\u4e86\u76f4\u63a5\u8c03\u6574 html \u7684<a href=\"https:\/\/fullcalendar.io\/docs\/v5\/dateClick\" target=\"_blank\" rel=\"noreferrer noopener\">\u5165\u53e3<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img width=\"1024\" height=\"481\" class=\"wp-image-1428 lazyload\" title=\"fullcalendar render\u65e0\u6548\u95ee\u9898\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-1024x481.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-1024x481.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-1024x481.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-300x141.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-768x361.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506-1536x722.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2025\/09\/20250910163435506.png 1796w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/figure>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">dateClick: function(info) {\n    \/\/ \u5355\u51fb\u9009\u62e9\/\u53d6\u6d88\u9009\u62e9\u65e5\u671f\n    toggleDateSelectionAndVisual(info.dateStr, info.dayEl);\n}\nfunction toggleDateSelectionAndVisual(dateStr, dayEl) {\n    var index = selectedDates.indexOf(dateStr);\n    if (index &lt; 0) {\n        selectedDates.push(dateStr);\n        \/\/ \u6dfb\u52a0\u89c6\u89c9\u6548\u679c\n        dayEl.classList.add('selected');\n    } else {\n        \/\/ \u5982\u679c\u5df2\u9009\u4e2d\uff0c\u5219\u4ece\u5217\u8868\u4e2d\u79fb\u9664\n        selectedDates.splice(index, 1);\n        \/\/ \u79fb\u9664\u89c6\u89c9\u6548\u679c\n        dayEl.classList.remove('selected');\n    }\n    updateSelectedDatesDisplay(selectedDates);\n}<\/pre>\n\n\n\n<p>\u53ef\u60dc\u5bf9\u4e8e select \u65f6\u95f4\u672a\u63d0\u4f9b\u7c7b\u4f3c\u5165\u53e3\uff0c\u540c\u65f6\u4e2a\u4eba\u4ee3\u7801\u4e2d\u65e5\u671f\u53d8\u66f4\u6700\u7ec8\u90fd\u4f1a\u8d70\u5230 updateSelectedDatesDisplay \u51fd\u6570\u4e2d\uff0c\u5728\u8fd9\u91cc\u589e\u52a0\u6e32\u67d3\u7684\u4ee3\u7801\u662f\u6700\u65b9\u4fbf\u7684\u3002\u6240\u4ee5\u4e0d\u4f9d\u8d56\u5b98\u65b9\u53e3\u5b50\uff0c\u4e0d\u4f9d\u8d56\u5b98\u65b9\u51fd\u6570\u7684\u65b9\u5f0f\u5c31\u662f\u81ea\u5df1\u6539 html<\/p>\n\n\n\n<p>\u627e\u5230\u5bf9\u5e94\u63a7\u4ef6\u7684div\u5757\u5143\u7d20\uff08\u6211\u8fd9\u91cc\u662f regular-date-picker\uff09\uff0c\u904d\u5386dates\uff0c\u6bcf\u6b21\u904d\u5386\u5143\u7d20\u53d8\u91cf\u4e3adate\uff0c\u6bcf\u6b21\u7ed9\u5176\u4e0bclass\u4e2d\u5305\u542b\u201c fc-day\u201d\u4e14\u6709 data-date\u540c\u65f6 data-date \u503c date \u4e3a\u5b50div (\u5e76\u975e\u7b2c\u4e00\u5c42\u5b50div\uff0c\u53ef\u80fd\u4e0b\u9762\u597d\u51e0\u5c42)\uff0cclass\u4e2d\u589e\u52a0\u201cselected\u201d<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">function updateSelectedDatesDisplay(dates) {\n    var displayDiv = document.getElementById(\"selected-dates-display\");\n    if (!displayDiv) return;\n\n    \/\/ \u5bf9\u65e5\u671f\u6570\u7ec4\u8fdb\u884c\u5347\u5e8f\u6392\u5e8f\n    dates.sort(function(a, b) {\n        return new Date(a) - new Date(b);\n    });\n\n    updateCalendarDateSelection(dates);\n\n    var html = '&lt;div style=\"margin-top: 10px;\">&lt;strong>\u5df2\u9009\u65e5\u671f:&lt;\/strong>&lt;ul>';\n    dates.forEach(function(date) {\n        html += '&lt;li style=\"list-style: disc; margin-left: 20px;\">' + date +\n               ' &lt;a href=\"#\" onclick=\"removeDate(\\'' + date + '\\'); return false;\" style=\"color:red; text-decoration: none;\">[x]&lt;\/a>&lt;\/li>';\n    });\n    html += '&lt;\/ul>&lt;\/div>';\n    displayDiv.innerHTML = html;\n}\n\n\/\/ \u6e32\u67d3\u65e5\u5386\u4ee5\u66f4\u65b0\u9009\u4e2d\u72b6\u6001 calendar.render()\u65e0\u6cd5\u5237\u65b0\u6709bug\nfunction updateCalendarDateSelection(dates) {\n    \/\/ \u627e\u5230\u65e5\u5386\u5bb9\u5668\n    var calendarContainer = document.getElementById(\"regular-date-picker\");\n    if (!calendarContainer) return;\n\n    \/\/ \u5148\u79fb\u9664\u6240\u6709\u5df2\u5b58\u5728\u7684selected\u7c7b\n    var allSelectedDays = calendarContainer.querySelectorAll('.fc-day.selected');\n    console.log(allSelectedDays, allSelectedDays)\n    allSelectedDays.forEach(function(dayElement) {\n        dayElement.classList.remove('selected');\n    });\n\n    \/\/ \u4e3a\u6bcf\u4e2a\u9009\u4e2d\u7684\u65e5\u671f\u6dfb\u52a0selected\u7c7b\n    dates.forEach(function(date) {\n        \/\/ \u67e5\u627e\u5339\u914d\u7684\u65e5\u671f\u5143\u7d20\n        var dayElement = calendarContainer.querySelector('.fc-day[data-date=\"' + date + '\"]');\n        if (dayElement) {\n            dayElement.classList.add('selected');\n            console.log(dayElement, \"selected\")\n        }\n    });\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524d\u5728\u5f15\u7528 fullcalendar@5.11.3 \u65f6&lt;link href=&#8221;https:\/\/cdn.j [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1431,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[74,140],"_links":{"self":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1420"}],"collection":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1420"}],"version-history":[{"count":5,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions"}],"predecessor-version":[{"id":1430,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1420\/revisions\/1430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/media\/1431"}],"wp:attachment":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}