changeMixin.js
412 Bytes
export default {
watch: {
watchReportParams: {
immediate: true,
handler(newval) {
this && this.init && this.init(newval)
}
}
},
computed: {
watchReportParams() {
return this.$store.state.app.reportParams
}
},
method: {
openMessage(msg) {
this.$message({
message: msg,
type: 'warning'
})
}
}
}