fix: default prop of location should be empty str
This commit is contained in:
parent
fc4e10b6c0
commit
ca7dec2082
4 changed files with 8 additions and 7 deletions
|
@ -70,7 +70,8 @@ function LocationProxy (ipcRenderer, guestId) {
|
|||
return {
|
||||
get: function () {
|
||||
const guestURL = getGuestURL()
|
||||
return guestURL ? guestURL[property] : ''
|
||||
const value = guestURL ? guestURL[property] : ''
|
||||
return value === undefined ? '' : value
|
||||
},
|
||||
set: function (newVal) {
|
||||
const guestURL = getGuestURL()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue