<template>
  <el-input v-model="processData.deploymentName" placeholder="请输入流程名称" />
流程设置{{ processData.deploymentName }}
</template>

<script setup>
import {useProcessStore} from '@/stores/processStore.js'
import {computed, defineExpose} from "vue";
const processStore = useProcessStore()
console.log(processStore.getDesign)

const processData = computed(() => {
  return processStore.getDesign()
})


const validate = () => {
  console.log("validate")
  return []
}

defineExpose({
  validate
})

</script>

<style scoped>

</style>