watch:{
"$store.state.data.excel"(excel){
if(excel){
this.excel = this.$store.state.data.excel
}
},
},
excel是vuex中data.js里面的state里的变量
watch:{
"$store.state.data.excel"(excel){
if(excel){
this.excel = this.$store.state.data.excel
}
},
},
excel是vuex中data.js里面的state里的变量