release v2.0.0 #4
|
@ -109,14 +109,11 @@ export default defineComponent({
|
||||||
const leftDrawer = computed({
|
const leftDrawer = computed({
|
||||||
get: () => {
|
get: () => {
|
||||||
if (_leftDrawer.value !== undefined) {
|
if (_leftDrawer.value !== undefined) {
|
||||||
console.log("ist undefiend")
|
|
||||||
return _leftDrawer.value
|
return _leftDrawer.value
|
||||||
}
|
}
|
||||||
if (Platform.is.mobile) {
|
if (Platform.is.mobile) {
|
||||||
console.log("is mobile")
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
console.log("is desktop")
|
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
set: (val) => _leftDrawer.value = val
|
set: (val) => _leftDrawer.value = val
|
||||||
|
|
Loading…
Reference in New Issue