mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-02 00:38:25 +09:00
[Client] Fix bug
This commit is contained in:
parent
4dcb15ef0d
commit
9aa65fb600
@ -16,7 +16,13 @@ export default define({
|
|||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tips: [
|
tips: [],
|
||||||
|
tip: null,
|
||||||
|
clock: null
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.tips = [
|
||||||
this.$t('tips-line1'),
|
this.$t('tips-line1'),
|
||||||
this.$t('tips-line2'),
|
this.$t('tips-line2'),
|
||||||
this.$t('tips-line3'),
|
this.$t('tips-line3'),
|
||||||
@ -37,10 +43,7 @@ export default define({
|
|||||||
this.$t('tips-line23'),
|
this.$t('tips-line23'),
|
||||||
this.$t('tips-line24'),
|
this.$t('tips-line24'),
|
||||||
this.$t('tips-line25')
|
this.$t('tips-line25')
|
||||||
],
|
];
|
||||||
tip: null,
|
|
||||||
clock: null
|
|
||||||
};
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@ -54,7 +57,7 @@ export default define({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
set() {
|
set() {
|
||||||
this.tip = tips[Math.floor(Math.random() * tips.length)];
|
this.tip = this.tips[Math.floor(Math.random() * this.tips.length)];
|
||||||
},
|
},
|
||||||
change() {
|
change() {
|
||||||
anime({
|
anime({
|
||||||
|
Loading…
Reference in New Issue
Block a user