This commit is contained in:
杜建超 2020-09-22 16:33:40 +08:00
parent b1b7045871
commit 85cac37bda

View File

@ -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