changeMixin.js
795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* @Description:
* @Author: huyue
* @Date: 2023-07-07 11:23:06
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 10:41:28
*/
export default {
watch: {
// watchReportParams: {
// immediate: true,
// handler(newval) {
// this && this.init && this.init(newval)
// }
// },
watchSolarYear: {
immediate: true,
handler(newval) {
this && this.init && this.init(newval)
}
}
},
computed: {
// watchReportParams() {
// return this.$store.state.app.reportParams
// },
watchSolarYear() {
return this.$store.state.app.solarYear
}
},
method: {
openMessage(msg) {
this.$message({
message: msg,
type: 'warning'
})
}
}
}