#24 处理
Showing
2 changed files
with
13 additions
and
4 deletions
... | @@ -62,7 +62,7 @@ export default { | ... | @@ -62,7 +62,7 @@ export default { |
62 | }, | 62 | }, |
63 | methods: { | 63 | methods: { |
64 | onNavHandler() { | 64 | onNavHandler() { |
65 | console.log("this.dataObj:", this.dataObj); | 65 | // console.log("this.dataObj:", this.dataObj); |
66 | let path = this.dataObj && this.dataObj.path || ""; | 66 | let path = this.dataObj && this.dataObj.path || ""; |
67 | if (path) { | 67 | if (path) { |
68 | this.$router.push({ | 68 | this.$router.push({ | ... | ... |
1 | 1 | ||
2 | <template> | 2 | <template> |
3 | <div class="content"> | 3 | <div class="content"> |
4 | 4 | {{locale == 'en' ? 'Currently no position opening' : locale == 'zh' ? '暂无空缺' : '暫無空缺'}} | |
5 | </div> | 5 | </div> |
6 | </template> | 6 | </template> |
7 | 7 | ||
8 | 8 | ||
9 | <style lang="scss" scoped> | 9 | <style lang="scss" scoped> |
10 | .content { | 10 | .content { |
11 | font-size: 18px; | ||
12 | display: flex; | ||
13 | justify-content: center; | ||
14 | align-items: center; | ||
11 | height: 500px; | 15 | height: 500px; |
12 | } | 16 | } |
13 | </style> | 17 | </style> |
14 | 18 | ||
15 | 19 | ||
16 | <script> | 20 | <script> |
17 | export default {}; | 21 | export default { |
18 | 22 | computed: { | |
23 | locale() { | ||
24 | return this.$i18n.locale || "tc"; | ||
25 | } | ||
26 | } | ||
27 | }; | ||
19 | </script> | 28 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment