This commit is contained in:
Baghi 2025-05-03 17:47:38 +03:30
parent 5bcb3f8d49
commit 6086ec8aad

View File

@ -15,6 +15,7 @@
</template> </template>
<script> <script>
export default { export default {
props: ["counter"], props: ["counter"],
data() { data() {
@ -55,27 +56,27 @@ export default {
}, refreshInterval); }, refreshInterval);
}, },
// goToRouteName() { goToRouteName() {
// this.$router.push({ this.$router.push({
// name: "searchResult", name: "search",
// query: { query: {
// q: undefined, q: undefined,
// key: this.counter.routeName, key: this.counter.routeName,
// }, },
// }); });
// }, },
urlResolver() { urlResolver() {
console.log("555");
// const routeData = this.$router.resolve({
// name: "searchResult", const routeData = this.$router.resolve({
// query: { name: "search",
// q: undefined, query: {
// key: this.counter.routeName, q: undefined,
// }, key: this.counter.routeName,
// }); },
// return routeData.href; });
return routeData.href;
}, },
}, },
}; };