mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
some bug fixes
- watch route params instead of route object in folderview - move to script setup on album view - use album as a reactive object instead of refs - use axios instead of fetch to get album data - improve clickable areas on songItem - move album requests to POST
This commit is contained in:
@@ -101,13 +101,16 @@ export default {
|
||||
|
||||
getDirData(path.value);
|
||||
|
||||
watch(route, (new_route) => {
|
||||
path.value = new_route.params.path;
|
||||
watch(
|
||||
() => route.params,
|
||||
() => {
|
||||
path.value = route.params.path;
|
||||
|
||||
if (!path.value) return;
|
||||
if (!path.value) return;
|
||||
|
||||
getDirData(path.value);
|
||||
});
|
||||
getDirData(path.value);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
function updateQueryString(value) {
|
||||
|
||||
Reference in New Issue
Block a user