Skip to content

Commit

Permalink
feat: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxsf committed May 21, 2024
1 parent c9e58c7 commit 8804732
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,11 @@ export default defineComponent({
};
const watchDemoUrl = (router: RouteLocationNormalized) => {
data.demoUrl = `${demoUrl}/${router.path
data.demoUrl = `${demoUrl}#/${router.path
.toLocaleLowerCase()
.split("/")
.pop()}?lang=${localStorage.getItem("language")}`;
};
const isReact = (router: RouteLocationNormalized) => {
return router.path.indexOf("react") > -1;
console.log(demoUrl, data.demoUrl, 222);
};
onMounted(async () => {
Expand Down

0 comments on commit 8804732

Please sign in to comment.