Commit e7fb4455 authored by Facius's avatar Facius

Merge branch 'dev-v1.0.0' into test

parents 6c4434a1 b3468d79
......@@ -119,7 +119,7 @@ export default {
},
created() {
this.initData()
this.beginNotic()
this.beginNotic(this.$u.random(1, 600) * 1000)
},
methods: {
initData() {
......@@ -136,15 +136,14 @@ export default {
this.defaultUrl + (a2 > 9 ? 'a' : 'a0') + String(a2) + '.jpeg',
this.defaultUrl + (a3 > 9 ? 'a' : 'a0') + String(a3) + '.jpeg',
]
// this.list = [this.noticeText]
setInterval(() => {
this.produceTime += this.duration
}, this.duration)
},
beginNotic() {
beginNotic(time) {
var after = this.$u.random(1, 600) * 1000
this.produceTime = 1000
this.produceTime = time || 1000
setTimeout(() => {
this.produceData()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment