Files
mosr-web/src/views/workflow/process/nodes/AddBranchNode.vue
2024-03-04 19:13:43 +08:00

28 lines
472 B
Vue

<template>
<el-button v-if="mode === 'design'" size="small" round class="add-branch-btn-el" @click="emit('addBranch')">{{value}}</el-button>
</template>
<script setup>
import {defineEmits,defineProps,computed} from "vue";
const emit = defineEmits()
const props = defineProps({
value:{
type:String,
default: ""
},
mode: {
type: String,
default: 'design'
}
})
const viewer = computed(() => {
return false;
})
</script>
<style scoped>
</style>