mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:57:53 +00:00
fix(plugin-workflow): fix schedule on field null value (#1442)
This commit is contained in:
parent
7fe70da4fa
commit
71dcabec25
@ -124,6 +124,9 @@ function getOnTimestampWithOffset(on, now: Date) {
|
||||
}
|
||||
|
||||
function getDataOptionTime(data, on, dir = 1) {
|
||||
if (!on) {
|
||||
return null;
|
||||
}
|
||||
switch (typeof on) {
|
||||
case 'string':
|
||||
const time = parseDateWithoutMs(on);
|
||||
|
Loading…
Reference in New Issue
Block a user