Fix routing error when initially loading Data page
This commit is contained in:
parent
fb70cbb117
commit
bc821feeff
|
@ -4,7 +4,7 @@
|
||||||
import { tables } from "stores/backend"
|
import { tables } from "stores/backend"
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
$tables.list.length > 0 && $goto(`../${$tables.list[0]._id}`)
|
$tables.list.length > 0 && $goto(`./${$tables.list[0]._id}`)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue