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