update 驾驶舱
This commit is contained in:
@@ -56,7 +56,6 @@ export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
computed: {},
|
||||
watch: {
|
||||
period: {
|
||||
handler(val) {
|
||||
@@ -67,7 +66,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
fetchData(period = "日") {
|
||||
this.$store.dispatch("copilot/initCopilot", { period });
|
||||
console.log(`产量驾驶舱,获取${period}数据`);
|
||||
this.$store.dispatch("copilot/initCopilot", { period, source: "yield" });
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user