refactor: beforeExpiresAtの初期値はundefinedの方がいい
This commit is contained in:
parent
5d35a37ccf
commit
0ee451af73
|
@ -88,7 +88,7 @@ const value = computed({
|
||||||
expirationDate: null,
|
expirationDate: null,
|
||||||
expiresAt: 'indefinitely',
|
expiresAt: 'indefinitely',
|
||||||
forward: false,
|
forward: false,
|
||||||
beforeExpiresAt: null,
|
beforeExpiresAt: undefined,
|
||||||
};
|
};
|
||||||
for (const [key, _value] of Object.entries(data)) {
|
for (const [key, _value] of Object.entries(data)) {
|
||||||
if (_value === null) {
|
if (_value === null) {
|
||||||
|
|
Loading…
Reference in New Issue