优化订单

This commit is contained in:
gyq
2025-04-30 18:10:14 +08:00
parent 12c4fb3629
commit 8c1a1644be
921 changed files with 30238 additions and 3405 deletions

10
node_modules/dayjs/esm/plugin/isYesterday/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { PluginFunc } from 'dayjs/esm'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs/esm' {
interface Dayjs {
isYesterday(): boolean
}
}

9
node_modules/dayjs/esm/plugin/isYesterday/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
export default (function (o, c, d) {
var proto = c.prototype;
proto.isYesterday = function () {
var comparisonTemplate = 'YYYY-MM-DD';
var yesterday = d().subtract(1, 'day');
return this.format(comparisonTemplate) === yesterday.format(comparisonTemplate);
};
});