update flow
This commit is contained in:
@@ -23,10 +23,21 @@ export default {
|
||||
components: { ProcessInfo, ProcessDetail, ProcessBomList },
|
||||
props: {},
|
||||
data() {
|
||||
return {};
|
||||
return {
|
||||
flowId: null,
|
||||
};
|
||||
},
|
||||
provide() {
|
||||
const that = this;
|
||||
return {
|
||||
getFlowId() {
|
||||
return that.flowId;
|
||||
},
|
||||
};
|
||||
},
|
||||
activated() {
|
||||
console.log('activated...', this.$route.params);
|
||||
this.flowId = this.$route.params.id;
|
||||
},
|
||||
computed: {},
|
||||
methods: {},
|
||||
|
||||
Reference in New Issue
Block a user