no message
Showing
2 changed files
with
7 additions
and
1 deletions
| ... | @@ -58,6 +58,7 @@ import {useRouter} from "vue-router"; | ... | @@ -58,6 +58,7 @@ import {useRouter} from "vue-router"; |
| 58 | 58 | ||
| 59 | const router = useRouter() | 59 | const router = useRouter() |
| 60 | import {useStorage} from "@vueuse/core/index"; | 60 | import {useStorage} from "@vueuse/core/index"; |
| 61 | import {ElMessage} from "element-plus"; | ||
| 61 | const props = defineProps({ | 62 | const props = defineProps({ |
| 62 | matchId: { | 63 | matchId: { |
| 63 | type: String, | 64 | type: String, |
| ... | @@ -67,6 +68,8 @@ const props = defineProps({ | ... | @@ -67,6 +68,8 @@ const props = defineProps({ |
| 67 | }) | 68 | }) |
| 68 | const language= useStorage('language',0) | 69 | const language= useStorage('language',0) |
| 69 | function goBooking(n) { | 70 | function goBooking(n) { |
| 71 | ElMessage.warning(language.value==0?'建设中,敬请期待':'Building!') | ||
| 72 | return | ||
| 70 | switch (n) { | 73 | switch (n) { |
| 71 | case 0: | 74 | case 0: |
| 72 | // 票务 | 75 | // 票务 | ... | ... |
| ... | @@ -93,9 +93,12 @@ const props = defineProps({ | ... | @@ -93,9 +93,12 @@ const props = defineProps({ |
| 93 | } | 93 | } |
| 94 | }) | 94 | }) |
| 95 | function building() { | 95 | function building() { |
| 96 | ElMessage.warning('Building!') | 96 | ElMessage.warning(language.value==0?'建设中,敬请期待':'Building!') |
| 97 | } | 97 | } |
| 98 | function goBooking(n) { | 98 | function goBooking(n) { |
| 99 | ElMessage.warning(language.value==0?'建设中,敬请期待':'Building!') | ||
| 100 | return | ||
| 101 | |||
| 99 | switch (n) { | 102 | switch (n) { |
| 100 | case 0: | 103 | case 0: |
| 101 | // 票务 | 104 | // 票务 | ... | ... |
-
Please register or sign in to post a comment