no message
Former-commit-id: 5d636564a890e465ab00be6024ecf34416ac1f2f Former-commit-id: 1a766623229d773e2ef298887f4b0d1b42bd9e14 Former-commit-id: d6ecb32bc241fceabd4461da63cb8df0e49dddd5
This commit is contained in:
@@ -153,13 +153,10 @@ export default {
|
|||||||
ready (ready) {
|
ready (ready) {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
this.syncData()
|
this.syncData()
|
||||||
|
this.showInfo()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
|
||||||
// 显示提示
|
|
||||||
this.showInfo();
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
// 显示提示
|
// 显示提示
|
||||||
showInfo () {
|
showInfo () {
|
||||||
|
|||||||
@@ -124,10 +124,19 @@ export default {
|
|||||||
ready (ready) {
|
ready (ready) {
|
||||||
if (ready) {
|
if (ready) {
|
||||||
this.syncData()
|
this.syncData()
|
||||||
|
this.showInfo()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 显示提示
|
||||||
|
showInfo () {
|
||||||
|
this.$notify({
|
||||||
|
title: '提示',
|
||||||
|
message: '点击卡片右上角的刷新按钮可以重新载入某个图表的数据',
|
||||||
|
duration: 10000
|
||||||
|
})
|
||||||
|
},
|
||||||
// 图表 mounted
|
// 图表 mounted
|
||||||
isReady (index) {
|
isReady (index) {
|
||||||
this.chart[index].ready = true
|
this.chart[index].ready = true
|
||||||
|
|||||||
Reference in New Issue
Block a user