|
@@ -138,11 +138,6 @@ const activeComponent = item => {
|
|
|
activeName.value = item.label
|
|
|
}
|
|
|
|
|
|
-const currentComponent = computed(() => {
|
|
|
- return componentsArr.find(item => item.label === activeName.value)?.component
|
|
|
-})
|
|
|
-
|
|
|
-const queryObj = computed(() => route.query)
|
|
|
const getCurrentProcessDetailEv = () => {
|
|
|
let _id = queryObj.value.id
|
|
|
if (_id) {
|
|
@@ -162,6 +157,12 @@ const getCurrentProcessDetailEv = () => {
|
|
|
}
|
|
|
|
|
|
getCurrentProcessDetailEv()
|
|
|
+
|
|
|
+const currentComponent = computed(() => {
|
|
|
+ return componentsArr.find(item => item.label === activeName.value)?.component
|
|
|
+})
|
|
|
+
|
|
|
+const queryObj = computed(() => route.query)
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|