init
This commit is contained in:
27
src/views/workflow/process/nodes/AddBranchNode.vue
Normal file
27
src/views/workflow/process/nodes/AddBranchNode.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user