1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

refactor: edit support banner

This commit is contained in:
ruanyf 2021-02-23 16:32:04 +08:00
parent 631a66ea8f
commit 3929f4f211

View File

@ -243,8 +243,8 @@ function li_create_linkage(li_tag, header_level) {
}
function create_banner(element) {
// 2021年3月18日
var deadline = new Date(2021, 2, 18);
// 2021年2月18日
var deadline = new Date(2021, 1, 18);
if (deadline - (new Date()) < 0) return;
var styleStr = [