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) {
|
||||
if (ready) {
|
||||
this.syncData()
|
||||
this.showInfo()
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
// 显示提示
|
||||
this.showInfo();
|
||||
},
|
||||
methods: {
|
||||
// 显示提示
|
||||
showInfo () {
|
||||
|
||||
@@ -124,10 +124,19 @@ export default {
|
||||
ready (ready) {
|
||||
if (ready) {
|
||||
this.syncData()
|
||||
this.showInfo()
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 显示提示
|
||||
showInfo () {
|
||||
this.$notify({
|
||||
title: '提示',
|
||||
message: '点击卡片右上角的刷新按钮可以重新载入某个图表的数据',
|
||||
duration: 10000
|
||||
})
|
||||
},
|
||||
// 图表 mounted
|
||||
isReady (index) {
|
||||
this.chart[index].ready = true
|
||||
|
||||
Reference in New Issue
Block a user