undefined typeof
This commit is contained in:
parent
d62716e301
commit
0eb63de209
13 changed files with 25 additions and 25 deletions
|
|
@ -159,7 +159,7 @@ export default {
|
|||
return this.source || this.defaultSource
|
||||
},
|
||||
realDraftMode() {
|
||||
return typeof this.draftMode === 'undefined'
|
||||
return this.draftMode === undefined
|
||||
? this.defaultDraftMode
|
||||
: this.draftMode
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue