0701提交本本,包含整体所有子页面

This commit is contained in:
Charles
2026-07-01 16:11:39 +08:00
parent 709098e515
commit 5ce8c50db9
12153 changed files with 1691968 additions and 7371 deletions
+10
View File
@@ -0,0 +1,10 @@
import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs/esm' {
interface Dayjs {
isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean
}
}
+5
View File
@@ -0,0 +1,5 @@
export default (function (o, c) {
c.prototype.isSameOrBefore = function (that, units) {
return this.isSame(that, units) || this.isBefore(that, units);
};
});