Change url episode query param and update artplayer urls

This commit is contained in:
2025-08-24 22:52:11 +05:00
parent 2f735587c3
commit c2316a672d
5 changed files with 62 additions and 43 deletions

View File

@ -14,8 +14,6 @@ export function createVueControlSmart(component, props = {}, events = {}) {
const container = $control.querySelector('.vue-control-wrapper')
if (container && !vueApp) {
console.log("111")
vueApp = createApp({
render() {
return h(component, {

View File

@ -0,0 +1,9 @@
export const updateUrlParameter = async (route, paramName, newValue) => {
await navigateTo({
path: route.path,
query: {
...route.query,
[paramName]: newValue
}
}, { replace: true })
}