fix
This commit is contained in:
parent
b1b7045871
commit
85cac37bda
@ -30,6 +30,11 @@
|
||||
mounted () {
|
||||
this.initChartBar()
|
||||
},
|
||||
watch: { // 监听到数据然后赋值
|
||||
dataInfo () {
|
||||
this.initChartBar()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
initChartBar () {
|
||||
var staffTotal = this.dataInfo.total
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user