Skip to content

Commit

Permalink
fix: title
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Feb 25, 2024
1 parent 1ddca02 commit e89992a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/PreviewSharePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { toValidURL } from '@/utils/check';
import { loadingBar } from '@/utils/discrete';
import { enhanceFetch } from '@/utils/fetch';
import { copy, timeAgo, useAdaptMobile } from '@/utils/others';
import { useTitle } from '@vueuse/core';
import JSON5 from 'json5';
import { NButton, NIcon, NInput } from 'naive-ui';
import { computed, shallowRef, watchEffect } from 'vue';
Expand All @@ -11,6 +12,8 @@ import { useRoute } from 'vue-router';
const route = useRoute();
useAdaptMobile();
useTitle('GKD-规则预览');
const url = computed(() => {
const u = toValidURL(String(route.query.url));
if (u) {
Expand Down

0 comments on commit e89992a

Please sign in to comment.