feat : 添加表单设置页面

This commit is contained in:
clay
2024-03-12 11:41:27 +08:00
parent f5be136384
commit c0aec3c33e
2 changed files with 74 additions and 34 deletions

View File

@@ -0,0 +1,30 @@
<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>